Skip to content
Advertisement

How to see complete rows in Google Colab

I am using Google Colab python 3.x and I have a Dataframe as below. I would like to see all cells on each row and column. How can I do this? I tried pd.set_option('display.max_columns', 3000) but it didn’t work.

JavaScript

Advertisement

Answer

use pd.set_option('max_colwidth', <width>) for column width & pd.set_option('max_rows', <rows>) for number of rows.
see https://pandas.pydata.org/pandas-docs/stable/user_guide/options.html

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement