Last active
June 14, 2019 08:24
-
-
Save egemenzeytinci/fbd2f837cf39e4cad9aeb3633b4e3253 to your computer and use it in GitHub Desktop.
Set some options in pandas
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
# display full columns | |
pd.set_option('display.max_columns', None) | |
# display full rows | |
pd.set_option('display.max_rows', None) | |
# non-truncated col values | |
pd.set_option('display.max_colwidth', -1) | |
# float format | |
pd.set_option('display.float_format', '{:20,.2f}'.format) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment