🐼 5 Most Used Pandas Functions for Data Science/Analysis/Manipulation #dataengineers #datascience

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

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

🐼 5 Most Used Pandas Functions for Data Science/Analysis/Manipulation

❤️ FOLLOW @nataindata @pythoncommunity_

There are a lot, but here are a few you are gonna use daily:

⚫️ head() - display rows from the top of dataframe

>>>
Date Open High
0 2019-08-09 119 120
1 2019-08-12 117 118
2 2019-08-13 117 120
3 2019-08-14 117 118
4 2019-08-15 116 117
[5 rows x 3 columns]

⚫️ describe() - quick overview of numerical columns with basic statistics

>>>
Open High
count 252 252
mean 133 134
std 12 12
min 105 107
25% 123 124
50% 133 135
75% 143 144
max 158 158

⚫️ nunique() - shows the number of unique values

>>>
Date 47
Open 41
High 45

⚫️ isna().sum() - returns the number of missing values in columns

>>>
Date 0
Open 2
High 11

⚫️ astype() - converts the data type of columns

⬇️ ✍️ And what are yours?

nataindata