How to estimate memory of dataset using python command

45

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")

Comments

Submit
0 Comments