📅  最后修改于: 2022-03-11 14:46:08.571000             🧑  作者: Mango
# You can set the max rows printed
pd.set_option('display.max_rows', len(df))
print(df)
# Alternatively you can use a with block
with pd.option_context('display.max_rows', None, 'display.max_columns', None): # more options can be specified also
print(df)