Created
February 13, 2021 06:54
-
-
Save vikjam/18056f7fac083a213a63a61f1f8f9a22 to your computer and use it in GitHub Desktop.
Display many rows of a pandas DataFrame
This file contains 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
# Adapted from https://www.kaggle.com/jamesleslie/titanic-neural-network-for-beginners | |
def display_more(df, nrows=1_000, ncols=1_000): | |
with pd.option_context("display.max_rows", nrows, "display.max_columns", ncols): | |
display(df) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment