Skip to content

Instantly share code, notes, and snippets.

@Mikuana
Created February 14, 2016 21:28
Show Gist options
  • Save Mikuana/bf511b61ffcdbf9afe55 to your computer and use it in GitHub Desktop.
Save Mikuana/bf511b61ffcdbf9afe55 to your computer and use it in GitHub Desktop.
Adjust max rows in pandas pretty print for one time call
import pandas as pd
def print_full(x):
pd.set_option('display.max_rows', len(x))
print(x)
pd.reset_option('display.max_rows')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment