Created
February 14, 2016 21:28
-
-
Save Mikuana/bf511b61ffcdbf9afe55 to your computer and use it in GitHub Desktop.
Adjust max rows in pandas pretty print for one time call
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
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