pandas 查看行列数

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

查看行数:df.shape[0]

查看列数:df.shape[1]

即可!

posted @ 2020-05-26 08:00  半日闲1  阅读(2720)  评论(0)    收藏  举报