63.1K subscribers
119 photos
1 video
1 link
Data science, Machine learning, and Artificial Intelligence. We post daily contents related to machine learning focusing on Numpy, Pandas, and ML effectively.
Download Telegram
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
Howdy everyone πŸ‘‹πŸ‘‹
.
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