Загрузка...

Pandas Head | pd.DataFrame.head()

https://dataindependent.com/pandas/pandas-head

https://github.com/Data-Indepedent/pandas_everything/blob/master/pandas_functions/Pandas_Head.ipynb

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.

pd.DataFrame.head(n=number_of_rows)

Видео Pandas Head | pd.DataFrame.head() канала Greg Kamradt
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки