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: [ Ссылка ]_
Speed up Pandas Code: [ Ссылка ]
Intro to Pandas video: [ Ссылка ]
Exploritory Data Analysis Video: [ Ссылка ]
* Youtube: [ Ссылка ]
* Discord: [ Ссылка ]
* Twitch: [ Ссылка ]_
* Twitter: [ Ссылка ]
* Kaggle: [ Ссылка ]
#python #code #datascience #pandas
Speed Up Your Pandas Dataframes
Теги
efficient pandas dataframespandas dataframe memory usereduce pandas memory usewrite memory efficient python codefaster pandas codewrite fast pandas codefast python for data sciencefast data science codespeed up slow pandas codememory error pandasrob mullakaggle pandas dataframepandas dataframepandas tutorialpython pandasdata analysisreduce pandas dataframe sizepandas dataframe tutorial for beginnerspandas tutorial for beginnerspython