This video will help you optimize your data preprocessing codes by comparing and contrasting loops, applying a function, and vectorization and broadcasting.
To access the code shown in the video see the video's GitHub Repo at https://github.com/royjafari/Loop-vs-pandas_apply_function-vs-V_B
This video is a part of a course called Python Data Manipulation, you can see the sequence of the video at https://roy-jafari.com/python-data-manipulation-modules-numpy-pandas
Chapters
0:00 Intro
1:01 Generate Synthetic data for experimentations
2:08 Example 1
12:39 Example 2
16:55 Available operations for Vectorization and Broadcasting
Download
0 formats
No download links available.
Code Optimization - Loop vs. pandas apply() vs Vectorization & Broadcasting | NatokHD