How to skip rows when reading a csv file into a Pandas DataFrame

preview_player
Показать описание
This video explains how to skip rows when reading a 'csv' file into a Pandas DataFrame with a focus on 'skiprows' and 'skipfooter' parameters.

Correction: At time 0:57, I misspoke 'skip columns', it will be 'skip rows'

Learn more about how to load a csv file into a Pandas DataFrame:
Рекомендации по теме
Комментарии
Автор

I got an answer to a problem in 2 minutes, that's gold!

SMajid--SMajid
Автор

Awesome video. You are an awesome teacher. So simple and concise

khaneteknon
Автор

The way you teach, it's very simple and easy for us to understand

tapatimondal
Автор

Thanks for the clear explanation, can you please tell how to give multiple range to skip rows, for eg I want to skip row 3-6, then 30-40..so on huge data set?

nikhiltripathi
Автор

Thanks for the simple, easy to understand explanation. The PANDAS documentation is sometimes not so straightforward.

annderby
Автор

How to skip rows after importing CSV not while importing

ravinderreddi
Автор

Nicely expained. I have one query while skipping first two rows then 3rd become the header for dataframe. But in case if we want 3rd as a 1st row in output then what changes we have to apply. Thanku.

adityakumar-yixl
visit shbcf.ru