Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

dataframe memory usage

# Returns the total memory usage of the DataFrame.
df.info(memory_usage="deep")

# Returns the memory usage per column of the DataFrame (in Bytes).
df.memory_usage(deep=True)
Comment

total memory usage pandas df

df.memory_usage(deep=True).sum()
1112497
Comment

df memory usage

df.memory_usage()
Comment

PREVIOUS NEXT
Code Example
Python :: color to black and white cv2 
Python :: esp32 micropython timer 
Python :: find element by title selenium python 
Python :: save plot as image python 
Python :: Unable to locate package python-certbot-nginx 
Python :: python reload file if changed 
Python :: how to convert list into csv in python 
Python :: instal cython 
Python :: python except keyboardinterrupt 
Python :: read shp in python 
Python :: python regex flags 
Python :: convert string list to float 
Python :: opencv draw a point 
Python :: python save seaborn plot 
Python :: python elif invalid syntax 
Python :: flask gmail config 
Python :: drop rows that contain null values in a pandas dataframe 
Python :: index in zip python 
Python :: reverse column order pandas 
Python :: how to add button in tkinter 
Python :: filter dataframe columns vy a list of columns 
Python :: pandas - from umeric to string 
Python :: dataframe column contains string 
Python :: how to send a message in a specific channel discord.py 
Python :: python split string by tab 
Python :: tensorflow mnist dataset import 
Python :: install mamba conda 
Python :: label size matplotlib 
Python :: managin media django 
Python :: django create app command 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =