Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

How to estimate memory of dataset using python command

import pandas as pd

data_url="https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2020/2020-03-10/tuition_cost.csv"
df = pd.read_csv(data_url)

df.info(memory_usage="deep")
Source by cmdlinetips.com #
 
PREVIOUS NEXT
Tagged: #How #estimate #memory #dataset #python #command
ADD COMMENT
Topic
Name
8+1 =