📜  如何使用 python 命令估计数据集的内存 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:30.017000             🧑  作者: Mango

代码示例1
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")