Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 동적할당
- value_counts
- class
- Axis
- 구조체
- const
- 혼공파
- matplotlib
- 포인터
- STR
- 클래스
- violinplot
- 한빛미디어
- expand=true
- boxplot
- swarmplot
- catplot
- LOC
- 혼공학습단
- seaborn
- 혼공단
- 열혈c++
- plot
- stripplot
- df.t
- c++
- lmplot
- bins
- 참조자
- histplot
Archives
- Today
- Total
목록scatter (1)
yEverything
박스 플롯
%matplotlib inline import pandas as pd df = pd.read_csv('exam.csv', index_col=0) df.head() df.head()를 하면 기본적으로 앞의 5개의 데이터들을 보여준다. df['math score'].describe() math score column의 describe를 하면 통계적인 데이터들을 결과로 얻을 수 있다. 평균값이나, 최솟값, 25%, 50%, 75%지점과 같은 값들을 알 수 있다. df.plot(kind='box', y='math score') kind에 box를 전달하면 박스 플롯이 그려지고, y에 나타내고 싶은 column을 전달하면 된다. describe메서드를 통해 얻은 값들에 대한 대부분의 정보들을 이렇게 박스 플롯을 ..
Data_analysis/Jupyter_notebook
2024. 4. 22. 21:16