- Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

Practice your Python Pandas data science skills with problems on StrataScratch!
https://stratascratch.com/?via=keith

In this video, we go through several real-world examples of using the Matplotlib & Pandas libraries to visualize data from CSV files. This is a follow-up to my introductory ma...
Practice your Python Pandas data science skills with problems on StrataScratch!
https://stratascratch.com/?via=keith

In this video, we go through several real-world examples of using the Matplotlib & Pandas libraries to visualize data from CSV files. This is a follow-up to my introductory matplotlib video (https://youtu.be/DAQNHzOcO5A). Timeline for what we cover can be found in the comments.

We start by creating line graphs of global gas price data over time. We review how to add a title, x & y axis labels, and scale our graph. We review how to customize the style and size of our charts. Next, we look at the FIFA 19 player data to create a histogram, a couple pie charts, and a box and whisker plot.

If you enjoy this video, make sure to LIKE and SUBSCRIBE :) :)

If you have any questions or feedback, please let me know in the comments!

---------------------------------------------
Follow me on social media!
Instagram | https://www.instagram.com/keithgalli/
Twitter |

---------------------------------------------
Link to Source Code & Datasets!
https://github.com/KeithGalli/matplotlib_tutorial

Matplotlib Documentation:
https://matplotlib.org/api/_as_gen/matplotlib.pyplot.html

Matplotlib Fonts:
http://jonathansoma.com/lede/data-studio/matplotlib/list-all-fonts-available-in-matplotlib-plus-samples/

Matplotlib Style Options:
https://matplotlib.org/3.1.0/gallery/style_sheets/style_sheets_reference.html

Kaggle Data Link:
https://www.kaggle.com/karangadiya/fifa19

---------------------------------------------

Video timeline!
0:00 - Intro & Video Overview
2:22 - Load Necessary Libraries & Download Data
3:48 - Line Graph Example (Plotting Data from CSV file)
21:52 - Histogram Example (FIFA Overall Skill Distribution)
29:25 - Pie Chart #1 (Counting data in CSV) - Visualizing Soccer Foot Preferences
36:41 - Pie Chart #2 (More advance Pandas Example) - Weight Distribution of FIFA Players
47:49 - Box & Whisker Plot (Comparing FIFA teams to one another)
1:00:37 - Final Comments

---------------------
If you are curious to learn how I make my tutorials, check out this video: https://youtu.be/LEO4igyXbLs

Join the Python Army to get access to perks!
YouTube - https://www.youtube.com/channel/UCq6XkhO5SZ66N04IcPbqNcw/join
Patreon - https://www.patreon.com/keithgalli

*I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links.

#Keith Galli #python 3 #Plotting #python programming #plotting python #matplotlib python tutorial #matplotlib overview #pandas #data science #data visualization #graphs in python #pie chart #histogram #CSV #how to make a graph python #data analysis #full tutorial #easy #beginner #python matplotlib tutorial #plotly #pandas and matplotlib #python figures #jupyter notebook #matplotlib examples #Examples #simple matplotlib tutorial #data processing #tutorial #python #matplotlib #how to
- Intro & Video Overview - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

- Intro & Video Overview

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:00:00 - 00:02:22
fifa.Weight = fifa.Weight.str[].astype('float64')Comments from anyone are welcome. - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

fifa.Weight = fifa.Weight.str[].astype('float64')Comments from anyone are welcome.

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:00:03 - 01:01:30
plt.xticks(gas.Year[].tolist()+[2012]) - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

plt.xticks(gas.Year[].tolist()+[2012])

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:00:03 - 01:01:30
. what is the short cut to give bin value can we give range like this [] and this will print all bins ?3.why did you type .count() and [0] what does this zero in bracket indicates - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

. what is the short cut to give bin value can we give range like this [] and this will print all bins ?3.why did you type .count() and [0] what does this zero in bracket indicates

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:01:40 - 01:01:30
F - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

F

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:02:05 - 01:01:30
- Load Necessary Libraries & Download Data - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

- Load Necessary Libraries & Download Data

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:02:22 - 00:03:48
- Line Graph Example (Plotting Data from CSV file) - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

- Line Graph Example (Plotting Data from CSV file)

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:03:48 - 00:21:52
One of the biggest problem of programmers......How the code worked?? - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

One of the biggest problem of programmers......How the code worked??

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:09:07 - 01:01:30
Without labels legend didn't worked. min: At  . But I appreciate your work - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

Without labels legend didn't worked. min: At . But I appreciate your work

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:09:22 - 01:01:30
yeah at  its asking me to add the labels! - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

yeah at its asking me to add the labels!

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:09:23 - 01:01:30
LMAO - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

LMAO

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:10:48 - 01:01:30
shortcut : plt.xticks(df.Year, rotation=40) - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

shortcut : plt.xticks(df.Year, rotation=40)

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:12:04 - 01:01:30
@ For those of you who were not getting the countries in the legend add *label= country* to your plt.plot statement - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

@ For those of you who were not getting the countries in the legend add *label= country* to your plt.plot statement

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:16:18 - 01:01:30
@ i dont get automatic legends - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

@ i dont get automatic legends

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:16:27 - 01:01:30
Bro, can you please tell me how did you get those all legend values on the graph without writing code for it. - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

Bro, can you please tell me how did you get those all legend values on the graph without writing code for it.

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:16:35 - 01:01:30
on  , to make the legend outside the graph you can use the command:-plt.legend(bbox_to_anchor=(1.05, 1)) - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

on , to make the legend outside the graph you can use the command:-plt.legend(bbox_to_anchor=(1.05, 1))

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:16:45 - 01:01:30
for those struggling to get labels on , use (label="%s data" % country) - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

for those struggling to get labels on , use (label="%s data" % country)

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:17:05 - 01:01:30
when i try. to make a graph at one go , like you have discussed just before , the legend isn't showing? How do i get to show the legend in this method? - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

when i try. to make a graph at one go , like you have discussed just before , the legend isn't showing? How do i get to show the legend in this method?

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:17:11 - 01:01:30
- Histogram Example (FIFA Overall Skill Distribution) - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

- Histogram Example (FIFA Overall Skill Distribution)

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:21:52 - 00:29:25
I got an error trying to plot this way:  'Invalid Syntax' - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

I got an error trying to plot this way: 'Invalid Syntax'

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:24:44 - 01:01:30
I get a TypeError saying list is not callable with plt.xticks(bins) - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

I get a TypeError saying list is not callable with plt.xticks(bins)

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:26:25 - 01:01:30
Great vid. At ... you can just make the y-axis logarithmic with the log=True param and the histogram looks a lot better. Also, use edgecolor='white' or some other colour to create some separation between the bins. - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

Great vid. At ... you can just make the y-axis logarithmic with the log=True param and the histogram looks a lot better. Also, use edgecolor='white' or some other colour to create some separation between the bins.

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:28:14 - 01:01:30
- Pie Chart #1 (Counting data in CSV) - Visualizing Soccer Foot Preferences - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

- Pie Chart #1 (Counting data in CSV) - Visualizing Soccer Foot Preferences

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:29:25 - 00:36:41
Hey, first thanks for the great Video. However, I have the following question: I dont get he syntax atIs this a short form? How can I calculcate or work with a specific cell within pandas DF and reset the value of the cell afterwards?E.g. x = x + "String"?More precisely, how can i loop through a column and transform the values? - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

Hey, first thanks for the great Video. However, I have the following question: I dont get he syntax atIs this a short form? How can I calculcate or work with a specific cell within pandas DF and reset the value of the cell afterwards?E.g. x = x + "String"?More precisely, how can i loop through a column and transform the values?

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:29:28 - 01:01:30
At  shouldn't it be  left=fifa.loc[ fifa[ 'Preferred Foot' ]=='Left' ].count()[14] instead of left=fifa.loc[ fifa[ 'Preferred Foot' ]=='Left' ].count()[0]? - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

At shouldn't it be left=fifa.loc[ fifa[ 'Preferred Foot' ]=='Left' ].count()[14] instead of left=fifa.loc[ fifa[ 'Preferred Foot' ]=='Left' ].count()[0]?

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:32:04 - 01:01:30
- Pie Chart #2 (More advance Pandas Example) - Weight Distribution of FIFA Players - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

- Pie Chart #2 (More advance Pandas Example) - Weight Distribution of FIFA Players

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:36:41 - 00:47:49
how can I change the values to kg? - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

how can I change the values to kg?

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:37:23 - 01:01:30
What if in  , we have the weight column format as say  175lbs(80kg)  instead of  175lbs  ?  How to convert that to a numerical value? - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

What if in , we have the weight column format as say 175lbs(80kg) instead of 175lbs ? How to convert that to a numerical value?

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:37:40 - 01:01:30
At , to strip off 'lbs' from weights of fifa players and convert weights from string dtype to float dtype, what's your opinion on the following code: - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

At , to strip off 'lbs' from weights of fifa players and convert weights from string dtype to float dtype, what's your opinion on the following code:

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:38:45 - 00:00:03
@ dose anyone know  a simpler way - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

@ dose anyone know a simpler way

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:40:02 - 01:01:30
Can anyone explain why he used fifa.loc[fifa ...] in ?I think without loc we will be able to get the same result.I really appreciate if anyone answers my question. - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

Can anyone explain why he used fifa.loc[fifa ...] in ?I think without loc we will be able to get the same result.I really appreciate if anyone answers my question.

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:40:10 - 01:01:30
in  . If you use Pycharm, you must convert 125 into '125' cause fifa.Weight[i] type is str. we can compare 2 str number like 2 int - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

in . If you use Pycharm, you must convert 125 into '125' cause fifa.Weight[i] type is str. we can compare 2 str number like 2 int

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:42:00 - 01:01:30
- Box & Whisker Plot (Comparing FIFA teams to one another) - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

- Box & Whisker Plot (Comparing FIFA teams to one another)

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
00:47:49 - 01:00:37
- Final Comments - Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)

- Final Comments

Python Plotting Tutorial w/ Matplotlib & Pandas (Line Graph, Histogram, Pie Chart, Box & Whiskers)
2019年06月07日 
01:00:37 - 01:01:30

Keith Galli

※本サイトに掲載されているチャンネル情報や動画情報はYouTube公式のAPIを使って取得・表示しています。

Timetable

動画タイムテーブル

動画数:88件

- Livestream Overview - Real-World Dataset Cleaning with Python Pandas! (Olympic Athletes Dataset)

- Livestream Overview

Real-World Dataset Cleaning with Python Pandas! (Olympic Athletes Dataset)
2024年04月20日 
00:00:00 - 00:04:00
- About the Olympics dataset (source website and how it was scraped) - Real-World Dataset Cleaning with Python Pandas! (Olympic Athletes Dataset)

- About the Olympics dataset (source website and how it was scraped)

Real-World Dataset Cleaning with Python Pandas! (Olympic Athletes Dataset)
2024年04月20日 
00:04:00 - 00:09:50
- Cleaning the dataset (getting started with code & data) - Real-World Dataset Cleaning with Python Pandas! (Olympic Athletes Dataset)

- Cleaning the dataset (getting started with code & data)

Real-World Dataset Cleaning with Python Pandas! (Olympic Athletes Dataset)
2024年04月20日 
00:09:50 - 00:19:26
- What aspects of our data should be cleaned? - Real-World Dataset Cleaning with Python Pandas! (Olympic Athletes Dataset)

- What aspects of our data should be cleaned?

Real-World Dataset Cleaning with Python Pandas! (Olympic Athletes Dataset)
2024年04月20日 
00:19:26 - 00:29:08
- Get rid of bullet points in Used name column - Real-World Dataset Cleaning with Python Pandas! (Olympic Athletes Dataset)

- Get rid of bullet points in Used name column

Real-World Dataset Cleaning with Python Pandas! (Olympic Athletes Dataset)
2024年04月20日 
00:29:08 - 00:34:08
- How to split Measurements into two separate height/weight numeric columns. - Real-World Dataset Cleaning with Python Pandas! (Olympic Athletes Dataset)

- How to split Measurements into two separate height/weight numeric columns.

Real-World Dataset Cleaning with Python Pandas! (Olympic Athletes Dataset)
2024年04月20日 
00:34:08 - 01:05:00
- Parse out dates from Born & Died columns - Real-World Dataset Cleaning with Python Pandas! (Olympic Athletes Dataset)

- Parse out dates from Born & Died columns

Real-World Dataset Cleaning with Python Pandas! (Olympic Athletes Dataset)
2024年04月20日 
01:05:00 - 01:25:43
- Parse out city, region, and country from Born column (working with regular expressions) - Real-World Dataset Cleaning with Python Pandas! (Olympic Athletes Dataset)

- Parse out city, region, and country from Born column (working with regular expressions)

Real-World Dataset Cleaning with Python Pandas! (Olympic Athletes Dataset)
2024年04月20日 
01:25:43 - 01:41:15
- Get rid of the extra columns - Real-World Dataset Cleaning with Python Pandas! (Olympic Athletes Dataset)

- Get rid of the extra columns

Real-World Dataset Cleaning with Python Pandas! (Olympic Athletes Dataset)
2024年04月20日 
01:41:15 - 01:46:08
- Next steps (how would we clean the results.csv) - Real-World Dataset Cleaning with Python Pandas! (Olympic Athletes Dataset)

- Next steps (how would we clean the results.csv)

Real-World Dataset Cleaning with Python Pandas! (Olympic Athletes Dataset)
2024年04月20日 
01:46:08 - 01:49:41
- Questions & Answers - Real-World Dataset Cleaning with Python Pandas! (Olympic Athletes Dataset)

- Questions & Answers

Real-World Dataset Cleaning with Python Pandas! (Olympic Athletes Dataset)
2024年04月20日 
01:49:41 - 02:02:26
- Intro & Setup - Solving 100 Python Pandas Problems! (from easy to very difficult)

- Intro & Setup

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:00:00 - 00:02:14
great video! however, regarding the usage of the terminal to create directories etc at  , can anyone recommend some youtube videos or sources to get more familiar with it? thanks a bunch! good luck getting good at pandas everybody :) - Solving 100 Python Pandas Problems! (from easy to very difficult)

great video! however, regarding the usage of the terminal to create directories etc at , can anyone recommend some youtube videos or sources to get more familiar with it? thanks a bunch! good luck getting good at pandas everybody :)

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日  @realzeejay 様 
00:00:59 - 05:20:18
- Problems (1-3) Initial pandas setup - Solving 100 Python Pandas Problems! (from easy to very difficult)

- Problems (1-3) Initial pandas setup

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:02:14 - 00:04:42
- Problems (4-10) DataFrame operations - Solving 100 Python Pandas Problems! (from easy to very difficult)

- Problems (4-10) DataFrame operations

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:04:42 - 00:04:52
- 4) Create a dataframe from dictionary - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 4) Create a dataframe from dictionary

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:04:52 - 00:05:24
- 5) Display dataframe summary - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 5) Display dataframe summary

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:05:24 - 00:05:41
- 6) First 3 rows of the dataframe - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 6) First 3 rows of the dataframe

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:05:41 - 00:06:02
- 7) Select ‘animal’ and ‘age’ columns - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 7) Select ‘animal’ and ‘age’ columns

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:06:02 - 00:07:42
- 8) Data in specific rows and columns - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 8) Data in specific rows and columns

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:07:42 - 00:09:06
- 9) Rows with visits greater than 3 - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 9) Rows with visits greater than 3

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:09:06 - 00:09:57
- 10) Rows with NaN in age - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 10) Rows with NaN in age

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:09:57 - 00:10:56
- 11) Cats younger than 3 years - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 11) Cats younger than 3 years

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:10:56 - 00:11:35
- 12) Age between 2 and 4 - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 12) Age between 2 and 4

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:11:35 - 00:12:45
- 13) Change age in row ‘f’ - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 13) Change age in row ‘f’

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:12:45 - 00:15:56
- 14) Sum of all visits - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 14) Sum of all visits

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:15:56 - 00:16:41
- 15) Average age by animal - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 15) Average age by animal

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:16:41 - 00:20:21
I do this a lot, by passing a dict to the agg function after grouping (it allows you to asign multiple operators to several cols at once). Eg df.groupby(“animal”).agg({“age”:”mean”}) - Solving 100 Python Pandas Problems! (from easy to very difficult)

I do this a lot, by passing a dict to the agg function after grouping (it allows you to asign multiple operators to several cols at once). Eg df.groupby(“animal”).agg({“age”:”mean”})

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日  @AgustinGonzalez-tz3yr 様 
00:19:30 - 05:20:18
- 16) Modify and revert rows - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 16) Modify and revert rows

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:20:21 - 00:24:06
- 17) Count by animal type - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 17) Count by animal type

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:24:06 - 00:25:28
- Quick review - Solving 100 Python Pandas Problems! (from easy to very difficult)

- Quick review

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:25:28 - 00:26:17
- 18) Sort by age and visits - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 18) Sort by age and visits

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:26:17 - 00:28:07
- 19) Convert 'priority' to boolean - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 19) Convert 'priority' to boolean

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:28:07 - 00:29:42
- 20) Replace 'snake' with 'python' - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 20) Replace 'snake' with 'python'

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:29:42 - 00:30:53
- 21) Mean age by animal and visits - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 21) Mean age by animal and visits

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:30:53 - 00:33:49
- Advanced DataFrame techniques - Solving 100 Python Pandas Problems! (from easy to very difficult)

- Advanced DataFrame techniques

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:33:49 - 00:33:57
- 22) Filter duplicate integers - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 22) Filter duplicate integers

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:33:57 - 00:43:18
- 23) Subtract row mean - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 23) Subtract row mean

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:43:18 - 00:45:42
- 24) Column with smallest sum - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 24) Column with smallest sum

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:45:42 - 00:50:39
- 25) Count unique rows - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 25) Count unique rows

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:50:39 - 00:53:17
- 26) Column with third NaN - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 26) Column with third NaN

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
00:53:17 - 01:10:27
- Solution review for 26 - Solving 100 Python Pandas Problems! (from easy to very difficult)

- Solution review for 26

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
01:10:27 - 01:17:13
- 27) Sum of top three values - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 27) Sum of top three values

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
01:17:13 - 01:24:01
- 28) Sum by column condition - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 28) Sum by column condition

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
01:24:01 - 01:40:11
- Recent problem review - Solving 100 Python Pandas Problems! (from easy to very difficult)

- Recent problem review

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
01:40:11 - 01:42:53
- 29) Count differences since last zero - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 29) Count differences since last zero

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
01:42:53 - 01:56:19
- 30) Locate largest values - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 30) Locate largest values

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
01:56:19 - 02:08:38
- 31) Replace negatives with mean - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 31) Replace negatives with mean

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
02:08:38 - 02:17:43
- 32) Rolling mean over groups - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 32) Rolling mean over groups

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
02:17:43 - 02:23:10
- Series and DatetimeIndex - Solving 100 Python Pandas Problems! (from easy to very difficult)

- Series and DatetimeIndex

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
02:23:10 - 02:23:12
- 33) DatetimeIndex for 2015 - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 33) DatetimeIndex for 2015

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
02:23:12 - 02:27:56
- 34) Sum values on Wednesdays - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 34) Sum values on Wednesdays

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
02:27:56 - 02:45:04
- 35) Monthly mean values - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 35) Monthly mean values

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
02:45:04 - 02:46:16
- 36) Best value in four-month groups - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 36) Best value in four-month groups

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
02:46:16 - 02:50:26
- 37) DatetimeIndex of third Thursdays - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 37) DatetimeIndex of third Thursdays

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
02:50:26 - 02:59:03
- Cleaning Data - Solving 100 Python Pandas Problems! (from easy to very difficult)

- Cleaning Data

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
02:59:03 - 02:59:40
- 38) Fill missing FlightNumber - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 38) Fill missing FlightNumber

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
02:59:40 - 03:02:45
- 39) Split column by delimiter - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 39) Split column by delimiter

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
03:02:45 - 03:06:47
- 40) Fix city name capitalization - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 40) Fix city name capitalization

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
03:06:47 - 03:08:30
- 41) Reattach columns - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 41) Reattach columns

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
03:08:30 - 03:13:11
- 42) Fix airline name punctuation - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 42) Fix airline name punctuation

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
03:13:11 - 03:17:45
- 43) Expand RecentDelays into columns - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 43) Expand RecentDelays into columns

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
03:17:45 - 03:27:31
- MultiIndexes in Pandas - Solving 100 Python Pandas Problems! (from easy to very difficult)

- MultiIndexes in Pandas

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
03:27:31 - 03:27:34
- 44) Construct a MultiIndex - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 44) Construct a MultiIndex

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
03:27:34 - 03:30:37
- Solution review - Solving 100 Python Pandas Problems! (from easy to very difficult)

- Solution review

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
03:30:37 - 03:32:44
- 45) Lexicographically sorted check - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 45) Lexicographically sorted check

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
03:32:44 - 03:32:58
- 46) Select specific MultiIndex labels - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 46) Select specific MultiIndex labels

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
03:32:58 - 03:34:23
- 47) Slice Series with MultiIndex - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 47) Slice Series with MultiIndex

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
03:34:23 - 03:35:24
- 48) Sum by first level - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 48) Sum by first level

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
03:35:24 - 03:37:47
- 49) Alternative sum method - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 49) Alternative sum method

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
03:37:47 - 03:40:08
- Additional solution insights - Solving 100 Python Pandas Problems! (from easy to very difficult)

- Additional solution insights

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
03:40:08 - 03:41:22
- 50) Swap MultiIndex levels - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 50) Swap MultiIndex levels

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
03:41:22 - 03:45:27
- Minesweeper problems - Solving 100 Python Pandas Problems! (from easy to very difficult)

- Minesweeper problems

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
03:45:27 - 03:45:44
- 51) Generate coordinate grid - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 51) Generate coordinate grid

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
03:45:44 - 04:00:28
- 52) Add 'safe' or 'mine' column - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 52) Add 'safe' or 'mine' column

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
04:00:28 - 04:03:04
- 53) Count adjacent mines - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 53) Count adjacent mines

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
04:03:04 - 04:27:33
- Review solution to 53 - Solving 100 Python Pandas Problems! (from easy to very difficult)

- Review solution to 53

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
04:27:33 - 04:33:02
- Skipped problems 54 & 55 - Solving 100 Python Pandas Problems! (from easy to very difficult)

- Skipped problems 54 & 55

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
04:33:02 - 04:33:11
- Plotting - Solving 100 Python Pandas Problems! (from easy to very difficult)

- Plotting

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
04:33:11 - 04:33:12
- 56) Scatter plot with black x markers - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 56) Scatter plot with black x markers

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
04:33:12 - 04:41:26
- 57) Plot four data types - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 57) Plot four data types

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
04:41:26 - 04:52:50
- 58) Overlay multiple graphs - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 58) Overlay multiple graphs

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
04:52:50 - 05:03:11
- 59) Hourly stock data summary - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 59) Hourly stock data summary

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
05:03:11 - 05:14:12
- 60) Candlestick plot - Solving 100 Python Pandas Problems! (from easy to very difficult)

- 60) Candlestick plot

Solving 100 Python Pandas Problems! (from easy to very difficult)
2024年04月14日 
05:14:12 - 05:20:18
- Intro & Live Stream Overview - Ask me anything! (data science, LLMs, landing a job, and more)

- Intro & Live Stream Overview

Ask me anything! (data science, LLMs, landing a job, and more)
2024年04月07日 
00:00:00 - 00:04:58
- How over saturated is the data science job market and will things improve in your opinion? - Ask me anything! (data science, LLMs, landing a job, and more)

- How over saturated is the data science job market and will things improve in your opinion?

Ask me anything! (data science, LLMs, landing a job, and more)
2024年04月07日 
00:04:58 - 00:07:26
- How much maths is needed to get a data science job? - Ask me anything! (data science, LLMs, landing a job, and more)

- How much maths is needed to get a data science job?

Ask me anything! (data science, LLMs, landing a job, and more)
2024年04月07日 
00:07:26 - 00:09:55
- Can you share a basic roadmap to learn generative AI and LLMs? - Ask me anything! (data science, LLMs, landing a job, and more)

- Can you share a basic roadmap to learn generative AI and LLMs?

Ask me anything! (data science, LLMs, landing a job, and more)
2024年04月07日 
00:09:55 - 00:13:08
- What future-proof tech career to should someone focus on who’s looking to change career? - Ask me anything! (data science, LLMs, landing a job, and more)

- What future-proof tech career to should someone focus on who’s looking to change career?

Ask me anything! (data science, LLMs, landing a job, and more)
2024年04月07日 
00:13:08 - 00:16:52
- Is data structures & algorithms (dsa) necessary to get a job in data science? - Ask me anything! (data science, LLMs, landing a job, and more)

- Is data structures & algorithms (dsa) necessary to get a job in data science?

Ask me anything! (data science, LLMs, landing a job, and more)
2024年04月07日 
00:16:52 - 00:19:17
- How to get good at data structures and algorithms? - Ask me anything! (data science, LLMs, landing a job, and more)

- How to get good at data structures and algorithms?

Ask me anything! (data science, LLMs, landing a job, and more)
2024年04月07日 
00:19:17 - 00:22:20
- Why don’t you make videos regularly now? - Ask me anything! (data science, LLMs, landing a job, and more)

- Why don’t you make videos regularly now?

Ask me anything! (data science, LLMs, landing a job, and more)
2024年04月07日 
00:22:20 - 00:24:18
- How much do you need to know for entry-level roles / college internships? - Ask me anything! (data science, LLMs, landing a job, and more)

- How much do you need to know for entry-level roles / college internships?

Ask me anything! (data science, LLMs, landing a job, and more)
2024年04月07日 
00:24:18 - 00:27:02
- How important is domain knowledge for data science? - Ask me anything! (data science, LLMs, landing a job, and more)

- How important is domain knowledge for data science?

Ask me anything! (data science, LLMs, landing a job, and more)
2024年04月07日 
00:27:02 - 00:29:29
- Amazon’s AI-based ‘just walk out’ retail checkout tech controversy thoughts - Ask me anything! (data science, LLMs, landing a job, and more)

- Amazon’s AI-based ‘just walk out’ retail checkout tech controversy thoughts

Ask me anything! (data science, LLMs, landing a job, and more)
2024年04月07日 
00:29:29 - 00:32:30
- Any good data projects to increase visibility to companies? - Ask me anything! (data science, LLMs, landing a job, and more)

- Any good data projects to increase visibility to companies?

Ask me anything! (data science, LLMs, landing a job, and more)
2024年04月07日 
00:32:30 - 00:36:05
- Do you think we should all learn vector databases? - Ask me anything! (data science, LLMs, landing a job, and more)

- Do you think we should all learn vector databases?

Ask me anything! (data science, LLMs, landing a job, and more)
2024年04月07日 
00:36:05 - 00:39:10
- Is webscraping illegal? what can I do and not do? - Ask me anything! (data science, LLMs, landing a job, and more)

- Is webscraping illegal? what can I do and not do?

Ask me anything! (data science, LLMs, landing a job, and more)
2024年04月07日 
00:39:10 - 00:43:14
- What are you working on at the moment? - Ask me anything! (data science, LLMs, landing a job, and more)

- What are you working on at the moment?

Ask me anything! (data science, LLMs, landing a job, and more)
2024年04月07日 
00:43:14 - 00:45:25
- How can I turn a financial database I’m building into an interesting portfolio project to showcase work? - Ask me anything! (data science, LLMs, landing a job, and more)

- How can I turn a financial database I’m building into an interesting portfolio project to showcase work?

Ask me anything! (data science, LLMs, landing a job, and more)
2024年04月07日 
00:45:25 - 00:49:23
- What advice do you have for data scientists who want to get into freelance/consulting? - Ask me anything! (data science, LLMs, landing a job, and more)

- What advice do you have for data scientists who want to get into freelance/consulting?

Ask me anything! (data science, LLMs, landing a job, and more)
2024年04月07日 
00:49:23 - 00:55:15
- What are important skills for DS beyond ML & AI? - Ask me anything! (data science, LLMs, landing a job, and more)

- What are important skills for DS beyond ML & AI?

Ask me anything! (data science, LLMs, landing a job, and more)
2024年04月07日 
00:55:15 - 00:59:42
- Do I need to become a full-stack programmer to have success in this field? - Ask me anything! (data science, LLMs, landing a job, and more)

- Do I need to become a full-stack programmer to have success in this field?

Ask me anything! (data science, LLMs, landing a job, and more)
2024年04月07日 
00:59:42 - 01:02:31
- If you weren’t allowed to do programming or create content, what would you do? - Ask me anything! (data science, LLMs, landing a job, and more)

- If you weren’t allowed to do programming or create content, what would you do?

Ask me anything! (data science, LLMs, landing a job, and more)
2024年04月07日 
01:02:31 - 01:03:39
- How did you achieve your advanced height? Asking for a friend. - Ask me anything! (data science, LLMs, landing a job, and more)

- How did you achieve your advanced height? Asking for a friend.

Ask me anything! (data science, LLMs, landing a job, and more)
2024年04月07日 
01:03:39 - 01:04:23
- Final thoughts. Thanks for coming!-------------------------Follow me on social media!Instagram | https://www.instagram.com/keithgalli/Twitter | https://twitter.com/keithgalliTikTok | https://tiktok.com/@keithgalli-------------------------Practice your Python Pandas data science skills with problems on StrataScratch!https://stratascratch.com/?via=keithJoin the Python Army to get access to perks!YouTube - https://www.youtube.com/channel/UCq6XkhO5SZ66N04IcPbqNcw/joinPatreon - https://www.patreon.com/keithgalli*I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links. - Ask me anything! (data science, LLMs, landing a job, and more)

- Final thoughts. Thanks for coming!-------------------------Follow me on social media!Instagram | https://www.instagram.com/keithgalli/Twitter | https://twitter.com/keithgalliTikTok | https://tiktok.com/@keithgalli-------------------------Practice your Python Pandas data science skills with problems on StrataScratch!https://stratascratch.com/?via=keithJoin the Python Army to get access to perks!YouTube - https://www.youtube.com/channel/UCq6XkhO5SZ66N04IcPbqNcw/joinPatreon - https://www.patreon.com/keithgalli*I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links.

Ask me anything! (data science, LLMs, landing a job, and more)
2024年04月07日 
01:04:23 - 01:05:26