DataFrame: 行列数

2025-05-01  本文已影响0人  LET149

DataFrame 的行数和列数

n_rows = df.shape[0] #行数

n_cols = df.shape[1] #列数

上一篇 下一篇

猜你喜欢

热点阅读