Pandas Head | pd.DataFrame.head()

preview_player
Показать описание


Pandas Head might be our single most used function in the library. It is essential for quickly testing to ensure your data is correct, especially with a notebook type environment.

Pandas Head will return the top n-number of rows of your DataFrame. It is essential for checking to make sure your data is what you think it is. It's close cousin, Pandas Tail will return the bottom n-number of rows.

Рекомендации по теме
Комментарии
Автор

keep going - I'm in love with your channel and you are amazing.

nubudpj
Автор

Hi, would you explain difference between head and head()? They return different output. But, I can't wrap my head around why head exists... Thank you!

ixobhrb