🌈 搜索
📅  最后修改于: 2022-03-11 14:56:17.778000             🧑  作者: Mango
df_sample = df.sample(n=1000) df_sample.shape(1000,10) df_sample2 = df.sample(frac=0.1) df_sample2.shape(1000,10)