pd.set_option('display.max_rows', ..) is not working even after

Question:

pd.set_option(‘display.max_rows’, ..) is not working.
I have a large df with more than 500k rows. when I do the following(as in the link below) for a df, only 10 rows are getting displayed. I need to display 100 rows. What should I do?

image here

Asked By: Ramya M

||

Answers:

You must set the display.min_rows to 100

and then use head(100)

Answered By: abhilb
pd.options.display.max_rows = 100
Answered By: yts61
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.