dataframe 获取行数和列数

获取行数

df.shape[0]
# 或者
len(df)

获取列数

df.shape[1]

おすすめ

転載: blog.csdn.net/weixin_45659364/article/details/119646397