head()打印索引。 dataframe.to_string(index=False,max_rows=10)打印前 5 行和后 5 行。
head()
dataframe.to_string(index=False,max_rows=10)
python dataframe pandas
dataframe ×1
pandas ×1
python ×1