๐[DataCamp] Counting, Grouped summary statistics : groupby(), Pivot tables
2020. 9. 5. 22:28ใLearning archive/Data Science
๐ drop_duplicate method
Removing duplicates is an essential skill to get accurate counts, because often you don't want to count the same thing multiple times.
//์ค๋ณต ๋ฐ์ดํฐ ์ฒ๋ฆฌ๋ฅผ ์ํ ๋ฉ์๋
๐Counting categorical variables
Counting is a great way to get an overview of your data and to spot curiosities that you might not notice otherwise.
.value_counts()
.value_counts(normalize=True)
// To calculate proportions, set normalize to True in .value_counts().
๐Grouped summary statistics
_ compare different groups
.groupby("")[""].mean()
๐๊ทธ๋ฃจํํ๊ณ , ์ปฌ๋ผ ์ง์ ํ๊ณ , Calculate
๐pivot tables : calculating group summary statistics
'Learning archive > Data Science' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
๐[DataCamp] Pandas : Slicing and subsetting with .loc and .iloc, Working with pivot tables (0) | 2020.09.06 |
---|---|
๐[DataCamp] Explicit indexes (0) | 2020.09.06 |
๐[DataCamp] Pandas : Adding a new column, Summary statistics (0) | 2020.09.03 |
[๐DataCamp] Data Manipulation with Pandas (0) | 2020.09.02 |
๐[DataCamp] Intermediate Python : Distribution (0) | 2020.09.02 |