Difference between revisions of "Pandas options"
Jump to navigation
Jump to search
(Created page with "===Pandas Options===") |
|||
| Line 1: | Line 1: | ||
===Pandas Options=== | ===Pandas Options=== | ||
| + | <syntaxhighlight lang=python> | ||
| + | pd.get_option('display.max_rows') | ||
| + | 60 | ||
| + | pd.set_option('display.max_rows', 200) | ||
| + | |||
| + | pd.reset_option('display.max_rows') | ||
| + | |||
| + | |||
| + | </syntaxhighlight> | ||
Revision as of 22:31, 21 February 2023
Pandas Options
pd.get_option('display.max_rows')
60
pd.set_option('display.max_rows', 200)
pd.reset_option('display.max_rows')