📜  python 数据框形状 - Python 代码示例

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

代码示例3
print(df.shape)
# (891, 12)

print(df.shape[0])
# 891

print(df.shape[1])
# 12