Get free YouTube views, likes and subscribers
Get Free YouTube Subscribers, Views and Likes

Speed Up Your Pandas Dataframes

Follow
Rob Mulla

In this video Rob Mulla teaches how to make your pandas dataframes more efficient by casting dtypes correctly. This will make your code faster, use less memory and smaller when saving to disk or a database.

Timeline:
00:00 Intro
00:47 Imports and Data Creation
02:32 Dataframe Memory Use
03:20 Baseline Speed Test
04:15 Casting Categorical
05:45 Downcasting Ints
07:07 Downcasting floats
08:15 Casting Bool Types
09:15 Benchmark Comparison
11:08 Outro

Thanks for taking the time to watch this video. Follow me on twitch for live coding streams:   / medallionstallion_  

Speed up Pandas Code:    • Make Your Pandas Code Lightning Fast  
Intro to Pandas video:    • A Gentle Introduction to Pandas Data ...  
Exploritory Data Analysis Video:    • Exploratory Data Analysis with Pandas...  

* Youtube: https://youtube.com/@robmulla?sub_con...
* Discord:   / discord  
* Twitch:   / medallionstallion_  
* Twitter:   / rob_mulla  
* Kaggle: https://www.kaggle.com/robikscube

#python #code #datascience #pandas

posted by achevalsursoiih