Skip to content

Instantly share code, notes, and snippets.

@yang-zhang
Last active November 20, 2019 15:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yang-zhang/e0cf565d5d20b803d075d3d377b31a33 to your computer and use it in GitHub Desktop.
Save yang-zhang/e0cf565d5d20b803d075d3d377b31a33 to your computer and use it in GitHub Desktop.
How to set dataframe display options for IPython and Jupyter notebook
import pandas as pd
pd.set_option('display.max_rows', 500)
pd.set_option('display.max_columns', 500)
pd.set_option('display.width', 1000)
pd.set_option('display.max_colwidth', -1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment