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
Hi Data Science enthusiasts ๐
.
Today, we are gonna talk about broadcasting in NumPy ๐ข
.
Broadcasting is a powerful, useful yet tricky feature in NumPy. If you know it well and use it intentionally, you can simplify a lot of code ๐
.
However, if itโs used by mistake it can create bugs and a lot of headaches ๐ค
.
Thatโs because in NumPy, you can easily do operations between matrices even if they donโt have the same shape ๐
.
NumPy โbroadcastsโ the smaller matrix (if valid for the operation) and repeats the operation per element, row, column, etc ๐ค
.
In todayโs code snippet, a scalar broadcasts into the same size of a matrix to be subtracted. Similarly, a row and column vector broadcasts into the right shape before getting subtracted!
.
Wanna know how? Check out the post!
.๐จโ๐ป#NumPy
.
Today, we are gonna talk about broadcasting in NumPy ๐ข
.
Broadcasting is a powerful, useful yet tricky feature in NumPy. If you know it well and use it intentionally, you can simplify a lot of code ๐
.
However, if itโs used by mistake it can create bugs and a lot of headaches ๐ค
.
Thatโs because in NumPy, you can easily do operations between matrices even if they donโt have the same shape ๐
.
NumPy โbroadcastsโ the smaller matrix (if valid for the operation) and repeats the operation per element, row, column, etc ๐ค
.
In todayโs code snippet, a scalar broadcasts into the same size of a matrix to be subtracted. Similarly, a row and column vector broadcasts into the right shape before getting subtracted!
.
Wanna know how? Check out the post!
.๐จโ๐ป#NumPy