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
- plot
- class
- seaborn
- 혼공파
- 참조자
- boxplot
- lmplot
- bins
- value_counts
- 한빛미디어
- 포인터
- const
- 열혈c++
- 혼공학습단
- df.t
- 클래스
- histplot
- c++
- swarmplot
- LOC
- Axis
- expand=true
- matplotlib
- 혼공단
- catplot
- 구조체
- stripplot
- STR
- 동적할당
- violinplot
Archives
- Today
- Total
목록Q1 (1)
yEverything
데이터 클리닝-정확성
%matplotlib inlineimport pandas as pddf = pd.read_csv('beer.csv', index_col=0)df.head()beer.csv를 읽자.맥주에 대한 데이터들이다.df.plot(kind='box', y='abv')abv에 대해 박스 플롯을 그려본다.뭔가 이상하다.df['abv'].describe()통계값들 보기.df['abv'].quantile(0.25)quantile(0.25)를 하면 박스 플롯에서 25%인 지점에 대한 값을 바로 알 수 있다.75% 지점도 같은 방식으로.q1 = df['abv'].quantile(0.25)q3 = df['abv'].quantile(0.75)iqr = q3 - q1위와 같이 저장하기.condition = (df['abv'] q3..
Data_analysis/Google_colaboratory
2024. 5. 3. 21:27