Pandas的DataFrame使用

  • 查看DataFrame行数和列数
# 行数:
df.shape[0]
# 列数
df.shape[1]
len(df)

你可能感兴趣的:(Pandas的DataFrame使用)