pandas 查看行列数

查看行列数:df.shape     返回一个元组

查看行数:df.shape[0]

查看列数:df.shape[1]

即可!

猜你喜欢

转载自www.cnblogs.com/yu121/p/12963170.html
今日推荐