Skipping rows at the end

For this, we use the skip_footer option, as follows:

df = pd.read_excel('IMDB.xlsx', sheetname=1, ski_footer=10)

Get Mastering Exploratory Analysis with pandas now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.