Display Options
set_option controls rows, columns and decimals shown.
Example
pd.set_option("display.max_rows", 3)
print(pd.Series(range(10)))
pd.reset_option("display.max_rows")
print(pd.get_option("display.max_rows"))Result
0 0
..
9 9
Length: 10, dtype: int64
60Exercise
Change an option.
pd.("k", v)
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.