. I don’t have the data or code to run to see if this would work right now, but at first glance I’d run:.apply(lambda x: x.str.contains(‘Python’).mean())(00:35:55 - 00:49:06) - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

. I don’t have the data or code to run to see if this would work right now, but at first glance I’d run:.apply(lambda x: x.str.contains(‘Python’).mean())(00:35:55 - 00:49:06)
Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

In this video, we will be learning how to group and aggregate our data.

This video is sponsored by Brilliant. Go to https://brilliant.org/cms to sign up for free. Be one of the first 200 people to sign up with this link and get 20% off your premium subscription.

In this Python Programming video...
In this video, we will be learning how to group and aggregate our data.

This video is sponsored by Brilliant. Go to https://brilliant.org/cms to sign up for free. Be one of the first 200 people to sign up with this link and get 20% off your premium subscription.

In this Python Programming video, we will be learning how to group and aggregate our data. This will allow us to explore our data in ways we have not yet done in this series. We will be able to answer questions such as: "What is the most popular social media site for each country?" We will be using the groupby method, and also some aggregate functions such as mean, median, value_counts, etc. Let's get started...

Video Timestamps:
Aggregate Column - 2:00
Aggregate DataFrame - 3:55
Value Counts - 7:51
Grouping - 12:30
Multiple Aggregates on Group - 26:00
People Who Know Python By Country - 27:20
Practice Question - 34:20
Concat Series - 37:27

The code for this video can be found at:
http://bit.ly/Pandas-08

StackOverflow Survey Download Page - http://bit.ly/SO-Survey-Download

✅ Support My Channel Through Patreon:
https://www.patreon.com/coreyms

✅ Become a Channel Member:
https://www.youtube.com/channel/UCCezIgC97PvUuR4_gbFUs5g/join

✅ One-Time Contribution Through PayPal:
https://goo.gl/649HFY

✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey's Public Amazon Wishlist
http://a.co/inIyro1

✅ Equipment I Use and Books I Recommend:
https://www.amazon.com/shop/coreyschafer

▶️ You Can Find Me On:
My Website - http://coreyms.com/
My Second Channel - https://www.youtube.com/c/coreymschafer
Facebook - https://www.facebook.com/CoreyMSchafer
Twitter -
Instagram - https://www.instagram.com/coreymschafer/

#Python #Pandas

#python #pandas #grouping #aggregating #pandas group #pandas groupby #pandas groupby tutorial #pandas aggregate functions #pandas aggregation #value_counts #value_count #pandas mean #pandas median #pandas describe #pandas tutorial #pandas concat #data science #data analysis #pandas dataframe #python pandas tutorial #python pandas #python tutorial #corey schafer
Intro: - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

Intro:

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:00:00 - 00:00:56
Recap: - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

Recap:

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:00:56 - 00:01:16
Basic Aggregate Functions:  (`df['col'].mean()`, `df['col'].median()`, `df['col'].mode()`, `df['col'].describe()`, `df.describe()`)- `describe` gives count (# non-NaN rows), mean, std, min, max, and 25%, 50%, and 75% quantiles - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

Basic Aggregate Functions: (`df['col'].mean()`, `df['col'].median()`, `df['col'].mode()`, `df['col'].describe()`, `df.describe()`)- `describe` gives count (# non-NaN rows), mean, std, min, max, and 25%, 50%, and 75% quantiles

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:01:16 - 00:12:00
Aggregate Column - - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

Aggregate Column -

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:02:00 - 00:03:55
median function - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

median function

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:03:10 - 00:05:00
Aggregate DataFrame - - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

Aggregate DataFrame -

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:03:55 - 00:07:51
describe function - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

describe function

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:05:00 - 00:07:20
count() - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

count()

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:07:20 - 00:08:05
Value Counts - - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

Value Counts -

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:07:51 - 00:12:30
value_counts() - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

value_counts()

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:08:05 - 00:12:51
if you have to do that to a specific country e.g. UK, how many people hobyist from UK and how many are not, how do you do that? - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

if you have to do that to a specific country e.g. UK, how many people hobyist from UK and how many are not, how do you do that?

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:09:08 - 00:49:06
Counts by Percentage:  (`df['col'].value_counts(normalize=True)`) - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

Counts by Percentage: (`df['col'].value_counts(normalize=True)`)

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:12:00 - 00:12:32
value count in % - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

value count in %

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:12:05 - 00:49:06
Grouping - - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

Grouping -

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:12:30 - 00:26:00
Intro to Groupby:- split object, apply function, combine results - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

Intro to Groupby:- split object, apply function, combine results

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:12:32 - 00:13:38
grouping the data - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

grouping the data

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:12:51 - 00:14:39
Split:df.groupby(['col'])df.get_group(['col_val']) - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

Split:df.groupby(['col'])df.get_group(['col_val'])

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:13:38 - 00:18:23
groupby() function - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

groupby() function

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:14:39 - 00:16:07
get_group(), grabbing a specific group by name - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

get_group(), grabbing a specific group by name

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:16:07 - 00:17:30
doing same by using the filters - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

doing same by using the filters

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:17:30 - 00:18:40
Apply Function & Combine:.agg(['mean', 'median']) - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

Apply Function & Combine:.agg(['mean', 'median'])

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:18:23 - 00:27:02
using value_counts on filters - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

using value_counts on filters

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:18:40 - 00:20:20
at , using .loc u got 20,00 rows and using group by u got 9,000 rows, how?? - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

at , using .loc u got 20,00 rows and using group by u got 9,000 rows, how??

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:19:00 - 00:49:06
Small note: at , the more correct syntax would be to select your column within the .loc method: df.loc[filt, 'SocialMedia'].value_counts(). - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

Small note: at , the more correct syntax would be to select your column within the .loc method: df.loc[filt, 'SocialMedia'].value_counts().

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:19:06 - 00:49:06
@ How are you able to put the two brackets side-by-side in the line: df.loc[filt]['socialmedia'].value_counts()I dont get why it works with df.loc, but when I tried to set a variable "group" to the groupby function, it doesnt work? - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

@ How are you able to put the two brackets side-by-side in the line: df.loc[filt]['socialmedia'].value_counts()I dont get why it works with df.loc, but when I tried to set a variable "group" to the groupby function, it doesnt work?

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:19:15 - 00:49:06
value_counts() for groups - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

value_counts() for groups

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:20:20 - 00:21:49
@ How would return just the top row for each country?I want it to look something like this...Country           Social MediaAfghanistan    Facebook         15Zimbabwe       Facebook          3 - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

@ How would return just the top row for each country?I want it to look something like this...Country Social MediaAfghanistan Facebook 15Zimbabwe Facebook 3

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:21:46 - 00:49:06
using loc to find for one country - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

using loc to find for one country

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:21:49 - 00:23:40
Corey, at  the groupby object forms a series with multindex. I'll try later to use pivot_table() to make index the countries and the columns representing different social apps. Although it won't be tidy data, I think it will be useful to explore it. - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

Corey, at the groupby object forms a series with multindex. I'll try later to use pivot_table() to make index the countries and the columns representing different social apps. Although it won't be tidy data, I think it will be useful to explore it.

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:21:50 - 00:49:06
percentage by using normalize - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

percentage by using normalize

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:23:40 - 00:25:00
median by country group - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

median by country group

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:25:00 - 00:26:13
Multiple Aggregates on Group - - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

Multiple Aggregates on Group -

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:26:00 - 00:27:20
agg function for multiple functions - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

agg function for multiple functions

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:26:13 - 00:27:30
Gotchas:.apply() on SeriesGroup - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

Gotchas:.apply() on SeriesGroup

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:27:02 - 00:33:36
People Who Know Python By Country - - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

People Who Know Python By Country -

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:27:20 - 00:34:20
using filtering to get python users by country - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

using filtering to get python users by country

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:27:30 - 00:30:20
At  in the video, would the following statement be more accurate as we want to know how many people know Python in Indiafilt = df['Country']=='India'df[filt]['LanguageWorkedWith'].str.contains('Python').count() - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

At in the video, would the following statement be more accurate as we want to know how many people know Python in Indiafilt = df['Country']=='India'df[filt]['LanguageWorkedWith'].str.contains('Python').count()

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:30:07 - 00:49:06
error on using same approach for groups - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

error on using same approach for groups

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:30:20 - 00:31:40
apply method to run that on group - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

apply method to run that on group

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:31:40 - 00:35:40
Hi Corey. in the group by method in , in the apply() method, the x in the lambda represent the series? in the apply method in the previous lectures isn't the apply method use in every cell/value in a series? Not in the series itself just like the 32:58? I'm new to python.  Thanks! - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

Hi Corey. in the group by method in , in the apply() method, the x in the lambda represent the series? in the apply method in the previous lectures isn't the apply method use in every cell/value in a series? Not in the series itself just like the 32:58? I'm new to python. Thanks!

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:32:58 - 00:49:06
Very interesting tutorial. Thumb up! Particularly at  !! - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

Very interesting tutorial. Thumb up! Particularly at !!

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:33:30 - 00:49:06
Real-World Problem (Calculation from Several Groups):- What percentage of people from each country know Python?country_respondents = df['Country'].value_counts()country_uses_python = country_grp['LanguageWorkedWith'].apply(lambda x: x.str.contains('Python').sum())result = pd.concat([country_respondents, country_uses_python], axis='columns')result.rename(columns={'Country': 'NumRespondents', 'LanguageWorkedWith': 'NumKnowsPython'})result['PctKnowsPython'] = country_uses_python / country_uses_python * 100result.sort_values(by='PctKnowsPython', ascending=False)result.loc['Japan'] - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

Real-World Problem (Calculation from Several Groups):- What percentage of people from each country know Python?country_respondents = df['Country'].value_counts()country_uses_python = country_grp['LanguageWorkedWith'].apply(lambda x: x.str.contains('Python').sum())result = pd.concat([country_respondents, country_uses_python], axis='columns')result.rename(columns={'Country': 'NumRespondents', 'LanguageWorkedWith': 'NumKnowsPython'})result['PctKnowsPython'] = country_uses_python / country_uses_python * 100result.sort_values(by='PctKnowsPython', ascending=False)result.loc['Japan']

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:33:36 - 00:45:23
#Ques at , what percentage of people from each country know Python? - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

#Ques at , what percentage of people from each country know Python?

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:34:20 - 00:49:06
Practice Question - - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

Practice Question -

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:34:20 - 00:37:27
Possible solutions for the question atcountry_grp['LanguageWorkedWith'].apply(lambda series: series.str.contains('Python').sum()/len(series)) - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

Possible solutions for the question atcountry_grp['LanguageWorkedWith'].apply(lambda series: series.str.contains('Python').sum()/len(series))

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:34:28 - 00:49:06
try this as the solution to question asked by respected Corey sir at  :l_countries = pd.unique(csv.dropna()['Country'])a = [(i, ((gbo.get_group(i)['LanguageWorkedWith'].str.contains('Python').sum()) / (gbo.get_group(i)['LanguageWorkedWith'].count()) * 100)) for i in l_countries] - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

try this as the solution to question asked by respected Corey sir at :l_countries = pd.unique(csv.dropna()['Country'])a = [(i, ((gbo.get_group(i)['LanguageWorkedWith'].str.contains('Python').sum()) / (gbo.get_group(i)['LanguageWorkedWith'].count()) * 100)) for i in l_countries]

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:34:35 - 00:49:06
I was just wondering if on  you could have just modified the lambda expression so it could just do all the calculations in place like so:country_grp["LanguageWorkedWith"].apply(lambda country_ser: (country_ser.str.contains("Python").sum()*/country_ser.value_counts().sum())*100)What I tried to do was to count the sum of total respondents for each country and do all the necessary calculations inside the lambda,  and, though the result that I got were similar to yours, they still were slightly different. - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

I was just wondering if on you could have just modified the lambda expression so it could just do all the calculations in place like so:country_grp["LanguageWorkedWith"].apply(lambda country_ser: (country_ser.str.contains("Python").sum()*/country_ser.value_counts().sum())*100)What I tried to do was to count the sum of total respondents for each country and do all the necessary calculations inside the lambda, and, though the result that I got were similar to yours, they still were slightly different.

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:35:38 - 00:49:06
At  since you want to get the percentage of boolean values that are 1 you can pretty much just replace .sum() with .mean(). It's sum/length. - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

At since you want to get the percentage of boolean values that are 1 you can pretty much just replace .sum() with .mean(). It's sum/length.

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:35:40 - 00:49:06
finding the percentage of people using python in each country(group) - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

finding the percentage of people using python in each country(group)

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:35:40 - 00:37:40
. I don’t have the data or code to run to see if this would work right now, but at first glance I’d run:.apply(lambda x: x.str.contains(‘Python’).mean()) - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

. I don’t have the data or code to run to see if this would work right now, but at first glance I’d run:.apply(lambda x: x.str.contains(‘Python’).mean())

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:35:55 - 00:49:06
I just wanted to share something regarding LanguagesHaveWorked grouped by Country (on ). I think the below code is rather simpler if we just wanna look at the percentages only, but I don't how reliable this method might be - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

I just wanted to share something regarding LanguagesHaveWorked grouped by Country (on ). I think the below code is rather simpler if we just wanna look at the percentages only, but I don't how reliable this method might be

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:36:00 - 00:49:06
() I added just a short method to get percentage of python users.country_grp['LanguageWorkedWith'].apply(lambda x: x.str.contains('Python').sum())->country_grp['LanguageWorkedWith'].apply(lambda x: (x.str.contains('Python').sum())/x.count()) - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

() I added just a short method to get percentage of python users.country_grp['LanguageWorkedWith'].apply(lambda x: x.str.contains('Python').sum())->country_grp['LanguageWorkedWith'].apply(lambda x: (x.str.contains('Python').sum())/x.count())

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:36:18 - 00:49:06
Concat Series - - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

Concat Series -

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:37:27 - 00:49:06
using concat for combining series in a dataframe - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

using concat for combining series in a dataframe

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:37:40 - 00:45:30
-  U S A ! U S A ! U S A ! - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

- U S A ! U S A ! U S A !

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:44:30 - 00:49:06
Outro: - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

Outro:

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:45:23 - 00:49:06
adding percentage column - Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data

adding percentage column

Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
2020年02月14日 
00:45:30 - 00:49:06

Corey Schafer

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

Timetable

動画タイムテーブル

動画数:234件

the future spoken is my current present. Unless I'm completely desperate, I'm not hitting reddit or google/stack overflow for most roadblocks. - How to Use ChatGPT as a Powerful Tool for Programming

the future spoken is my current present. Unless I'm completely desperate, I'm not hitting reddit or google/stack overflow for most roadblocks.

How to Use ChatGPT as a Powerful Tool for Programming
2023年05月22日  o k t o b e r 様 
00:12:22 - 00:31:08
Good video as always😉  I remember asking that too lol - How to Use ChatGPT as a Powerful Tool for Programming

Good video as always😉 I remember asking that too lol

How to Use ChatGPT as a Powerful Tool for Programming
2023年05月22日  kami 様 
00:28:19 - 00:31:08
@ - pure gold, pure gold! <3 - How to Use ChatGPT as a Powerful Tool for Programming

@ - pure gold, pure gold! <3

How to Use ChatGPT as a Powerful Tool for Programming
2023年05月22日  ulf gjerdingen 様 
00:28:26 - 00:31:08
You almost had me there haha! ChatGPT can be wrong but it certainly wasn't wrong about those top notch resources! I massively appreciate all the uploads and I hope they keep coming supercharged with Chat GPT. Thanks to you, sentdex, techwithtim and Dennis Ivy I now know how to properly code on python, use git for version control and build a functional website. - How to Use ChatGPT as a Powerful Tool for Programming

You almost had me there haha! ChatGPT can be wrong but it certainly wasn't wrong about those top notch resources! I massively appreciate all the uploads and I hope they keep coming supercharged with Chat GPT. Thanks to you, sentdex, techwithtim and Dennis Ivy I now know how to properly code on python, use git for version control and build a functional website.

How to Use ChatGPT as a Powerful Tool for Programming
2023年05月22日  Uj Vag 様 
00:28:42 - 00:31:08
and it's  am here (south east asia), and idk why I'm watching a python tutorial rather than sleeping 😂 - Python Tutorial: Simulate the Powerball Lottery Using Python

and it's am here (south east asia), and idk why I'm watching a python tutorial rather than sleeping 😂

Python Tutorial: Simulate the Powerball Lottery Using Python
2023年01月10日  X 様 
00:02:49 - 00:38:56
… nice… 😂 - Python Tutorial: Simulate the Powerball Lottery Using Python

… nice… 😂

Python Tutorial: Simulate the Powerball Lottery Using Python
2023年01月10日  Bartosz Turkowyd 様 
00:04:50 - 00:38:56
I've seen every Python video you've made....   first innuendo. 😜 - Python Tutorial: Simulate the Powerball Lottery Using Python

I've seen every Python video you've made.... first innuendo. 😜

Python Tutorial: Simulate the Powerball Lottery Using Python
2023年01月10日  Martin Beaudry 様 
00:04:52 - 00:38:56
Man it's  am in India I am lucky to be the first one to hear your voice god bless you brother and an awesome teacher. - Python Tutorial: Simulate the Powerball Lottery Using Python

Man it's am in India I am lucky to be the first one to hear your voice god bless you brother and an awesome teacher.

Python Tutorial: Simulate the Powerball Lottery Using Python
2023年01月10日  Big Samosa 様 
00:12:15 - 00:38:56
# you can also use the built-in pprint module for pretty printing dictionaries ;) - Python Tutorial: Simulate the Powerball Lottery Using Python

# you can also use the built-in pprint module for pretty printing dictionaries ;)

Python Tutorial: Simulate the Powerball Lottery Using Python
2023年01月10日  Schoenling Wunderbar 様 
00:25:00 - 00:38:56
it would be very interesting to see if there could be a step function where this algorithm can simulate the increases in jackpot winnings. It’s going to be one in 292+ million of a chance that you hit it at all much less multiple times, but the code should be interesting to see. - Python Tutorial: Simulate the Powerball Lottery Using Python

it would be very interesting to see if there could be a step function where this algorithm can simulate the increases in jackpot winnings. It’s going to be one in 292+ million of a chance that you hit it at all much less multiple times, but the code should be interesting to see.

Python Tutorial: Simulate the Powerball Lottery Using Python
2023年01月10日  20 80 様 
00:27:43 - 00:38:56
A OAuth Django video would be awesome!(Applicable to all sorts of OAuth situations, not just the YouTube API.) - Python YouTube API Tutorial: Using OAuth to Access User Accounts

A OAuth Django video would be awesome!(Applicable to all sorts of OAuth situations, not just the YouTube API.)

Python YouTube API Tutorial: Using OAuth to Access User Accounts
2020年09月10日 
00:07:58 - 00:43:21
At  you move the file and see some blurred miniature version of your open folders in the dock. How did you enable that? - Python YouTube API Tutorial: Using OAuth to Access User Accounts

At you move the file and see some blurred miniature version of your open folders in the dock. How did you enable that?

Python YouTube API Tutorial: Using OAuth to Access User Accounts
2020年09月10日 
00:09:58 - 00:43:21
In case you are getting Error 403 ("access_denied The developer hasn’t given you access to this app") go to the OAuth consent screen and under Test Users add your email by clicking on Add Users.  You should be able to grant access after you've added User. - Python YouTube API Tutorial: Using OAuth to Access User Accounts

In case you are getting Error 403 ("access_denied The developer hasn’t given you access to this app") go to the OAuth consent screen and under Test Users add your email by clicking on Add Users. You should be able to grant access after you've added User.

Python YouTube API Tutorial: Using OAuth to Access User Accounts
2020年09月10日 
00:19:36 - 00:43:21
@corey  So why did you add the join function here, when appending the video id to the list its already a list and its working for me when I pass the vid_ids directly - Python YouTube API Tutorial: Calculating the Duration of a Playlist

@corey So why did you add the join function here, when appending the video id to the list its already a list and its working for me when I pass the vid_ids directly

Python YouTube API Tutorial: Calculating the Duration of a Playlist
2020年06月11日 
00:11:24 - 00:37:38
TypeError: expected string or bytes-like object, I am taking this error in , any idea? - Python YouTube API Tutorial: Calculating the Duration of a Playlist

TypeError: expected string or bytes-like object, I am taking this error in , any idea?

Python YouTube API Tutorial: Calculating the Duration of a Playlist
2020年06月11日 
00:18:50 - 00:37:38
(I love that "Whoops that went too well"-moment at  :D) - Python Tutorial: Real World Example - Using Patreon API and Pillow to Automate Image Creation

(I love that "Whoops that went too well"-moment at :D)

Python Tutorial: Real World Example - Using Patreon API and Pillow to Automate Image Creation
2020年05月11日 
00:35:19 - 00:52:33
Read CSV - - Python Pandas Tutorial (Part 11): Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc

Read CSV -

Python Pandas Tutorial (Part 11): Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc
2020年04月02日 
00:00:56 - 00:03:20
Write CSV - - Python Pandas Tutorial (Part 11): Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc

Write CSV -

Python Pandas Tutorial (Part 11): Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc
2020年04月02日 
00:03:20 - 00:04:40
Write TSV - - Python Pandas Tutorial (Part 11): Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc

Write TSV -

Python Pandas Tutorial (Part 11): Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc
2020年04月02日 
00:04:40 - 00:06:00
Read TSV - - Python Pandas Tutorial (Part 11): Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc

Read TSV -

Python Pandas Tutorial (Part 11): Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc
2020年04月02日 
00:06:00 - 00:06:15
Write Excel - - Python Pandas Tutorial (Part 11): Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc

Write Excel -

Python Pandas Tutorial (Part 11): Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc
2020年04月02日 
00:06:15 - 00:10:42
Read Excel -  (Start at 6:15 to see installed packages) - Python Pandas Tutorial (Part 11): Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc

Read Excel - (Start at 6:15 to see installed packages)

Python Pandas Tutorial (Part 11): Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc
2020年04月02日 
00:10:42 - 00:12:18
Write JSON - - Python Pandas Tutorial (Part 11): Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc

Write JSON -

Python Pandas Tutorial (Part 11): Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc
2020年04月02日 
00:12:18 - 00:15:41
Read JSON - - Python Pandas Tutorial (Part 11): Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc

Read JSON -

Python Pandas Tutorial (Part 11): Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc
2020年04月02日 
00:15:41 - 00:16:59
Write SQL - - Python Pandas Tutorial (Part 11): Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc

Write SQL -

Python Pandas Tutorial (Part 11): Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc
2020年04月02日 
00:16:59 - 00:24:57
# Just in case:If you are using sqlite3 instead of sqlalchemy, you have to use SQL string not the table name: - Python Pandas Tutorial (Part 11): Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc

# Just in case:If you are using sqlite3 instead of sqlalchemy, you have to use SQL string not the table name:

Python Pandas Tutorial (Part 11): Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc
2020年04月02日 
00:24:57 - 00:32:45
Read SQL -  (Start at 16:59 to see installed packages) - Python Pandas Tutorial (Part 11): Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc

Read SQL - (Start at 16:59 to see installed packages)

Python Pandas Tutorial (Part 11): Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc
2020年04月02日 
00:24:57 - 00:32:45
Corey Ception - Live Stream - Chat, Q&A, Brews, and Coding

Corey Ception

Live Stream - Chat, Q&A, Brews, and Coding
2020年03月24日  MLittle Programming 様 
00:00:03 - 01:01:21
Ah, I missed the stream :(..  VIM! haha but seriously, I'm a recent convert to vim. It's powerful and efficient. - Live Stream - Chat, Q&A, Brews, and Coding

Ah, I missed the stream :(.. VIM! haha but seriously, I'm a recent convert to vim. It's powerful and efficient.

Live Stream - Chat, Q&A, Brews, and Coding
2020年03月24日  stuart 様 
00:02:35 - 01:01:21
Youtube premium is ad-free. - Live Stream - Chat, Q&A, Brews, and Coding

Youtube premium is ad-free.

Live Stream - Chat, Q&A, Brews, and Coding
2020年03月24日  stuart 様 
00:21:00 - 01:01:21
I knew that, but...😆 - Live Stream - Chat, Q&A, Brews, and Coding

I knew that, but...😆

Live Stream - Chat, Q&A, Brews, and Coding
2020年03月24日  Deepam Gupta 様 
00:41:25 - 01:01:21