Welcome to part 5 of Fun with Pandas featuring our founders ๐
.
Fast and robust string operations are crucial to a large data framework. As shown, one can split columns based on unique patterns of their values .
Here, the separation of city from state/province and country is possible through finding the common pattern of โ, โ between city and state and between state and country
.
At the end, we are curious to know more about our South African born founder so we filter on South Africa ๐ฟ๐ฆ .
No hard feelings Bill, Mark, and Jeff. We are curious about you too ๐
.
๐จโ๐ป#Pandas
.
Fast and robust string operations are crucial to a large data framework. As shown, one can split columns based on unique patterns of their values .
Here, the separation of city from state/province and country is possible through finding the common pattern of โ, โ between city and state and between state and country
.
At the end, we are curious to know more about our South African born founder so we filter on South Africa ๐ฟ๐ฆ .
No hard feelings Bill, Mark, and Jeff. We are curious about you too ๐
.
๐จโ๐ป#Pandas
Today, we are gonna talk about:
.
assign()
.
assign() lets do create a new column from a different column with some modification ๐ช
.
Here we are subtracting our foundersโ birth year from the current year to find their ages +/- 1 year ๐
.
Later, we use the mean() function we covered in Part 3 of these series to find that together our favorite founders are 51.5 years young โผ๏ธ
.
๐จโ๐ป#Pandas
.
assign()
.
assign() lets do create a new column from a different column with some modification ๐ช
.
Here we are subtracting our foundersโ birth year from the current year to find their ages +/- 1 year ๐
.
Later, we use the mean() function we covered in Part 3 of these series to find that together our favorite founders are 51.5 years young โผ๏ธ
.
๐จโ๐ป#Pandas
Lesson of the day: apply() in Pandas ๐ช๐ with the help of our favorite founders who are back yet again!!
.
apply() allows you to โapplyโ ๐ฎ any user defined function to column(s) of data ๐
.
Swipe to see what we were curious to find out about our founders using apply() ๐ .
.
๐จโ๐ป#Pandas
.
apply() allows you to โapplyโ ๐ฎ any user defined function to column(s) of data ๐
.
Swipe to see what we were curious to find out about our founders using apply() ๐ .
.
๐จโ๐ป#Pandas
Hey everyone ๐
.
As data scientists, we are data hungry!! Good news is data is available everywhere on the internet, and Pandas has the feature to import all of that goodness easily into a DataFrame ๐
.
How? Check out the slides!!
.
๐จโ๐ป#Pandas
.
As data scientists, we are data hungry!! Good news is data is available everywhere on the internet, and Pandas has the feature to import all of that goodness easily into a DataFrame ๐
.
How? Check out the slides!!
.
๐จโ๐ป#Pandas
Howdy everyone ๐๐
.
How about continuing our discussion on how to use Pandas to get valuable insights from our data? Shall we? ๐
.
๐จโ๐ป#Pandas
.
How about continuing our discussion on how to use Pandas to get valuable insights from our data? Shall we? ๐
.
๐จโ๐ป#Pandas