Skip to content

Instantly share code, notes, and snippets.

@ecdedios
Created May 31, 2020 15:34
Show Gist options
  • Save ecdedios/3db6ecdb370d30040be1516bf2ed8697 to your computer and use it in GitHub Desktop.
Save ecdedios/3db6ecdb370d30040be1516bf2ed8697 to your computer and use it in GitHub Desktop.
Importing pandas and setting the display options.
import pandas as pd
# to print out all the outputs
from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = "all"
# set display options
pd.set_option('display.max_columns', None)
pd.set_option('display.max_rows', None)
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