Created
March 31, 2014 21:32
-
-
Save jrmontag/9902846 to your computer and use it in GitHub Desktop.
make pandas dataframe slightly easier to read in IPython notebook
This file contains hidden or 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
pd.set_option('display.max_columns', 10) # repr shows <=10 cols (scrollable) | |
pd.set_option("display.max_colwidth", 150) # repr shows <=150 characters in each column (line wraps) | |
# many more options available: | |
# http://pandas.pydata.org/pandas-docs/stable/basics.html?highlight=set_option#working-with-package-options |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment