Last active
June 25, 2023 14:37
-
-
Save michaeldebetaz/167f7971c45195923eadcbde03783522 to your computer and use it in GitHub Desktop.
Display
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
| # Display more rows and columns of the DataFrame | |
| def display_all(df, n_rows=1000, n_cols=1000): | |
| with pd.option_context("display.max_rows", n_rows, "display.max_columns", n_cols): | |
| display(df) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment