📜  python pandas shape - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:19.575000             🧑  作者: Mango

代码示例2
# The shape attribute returns a tuple (TODO appendix) where the first value is
#the number of rows and the second number is the number of columns
print(df.shape)
(1704, 6)