1. Pandas中的shape函数的作用是查看行数和列数
2.
也可以使用len读取 read_csv返回的结果,为表的总行数。
用len读取 read_csv返回的结果的columns,为表的总列数。

a = len(df)
b = len(df.columns)