How to reduce the memory size of Pandas Data frame
After importing with pandas read_csv(), dataframes tend to occupy more memory than needed. This is a default behavior in Pandas, in order to ensure all data is read properly. It’s possible to optimize that, because, lighter the dataframe, faster will be the operations you do on them later on. So, let’s first check how much …
How to reduce the memory size of Pandas Data frame Read More »