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
- 한빛미디어
- matplotlib
- expand=true
- stripplot
- lmplot
- STR
- value_counts
- seaborn
- 클래스
- 열혈c++
- catplot
- violinplot
- 참조자
- c++
- swarmplot
- boxplot
- LOC
- const
- 포인터
- 혼공파
- df.t
- bins
- 동적할당
- Axis
- class
- 혼공단
- histplot
- 혼공학습단
- plot
- 구조체
Archives
- Today
- Total
목록last (1)
yEverything
카테고리로 분류
%matplotlib inlineimport pandas as pddf = pd.read_csv('laptops.csv')df.head()laptops.csv 파일 읽기.요런 데이터들이 들어있음.brand_nation = { 'Dell': 'U.S', 'Apple': 'U.S', 'Acer': 'Taiwan', 'HP': 'U.S', 'Lenovo': 'China', 'Alienware': 'U.S', "Microsoft": 'U.S', 'Asus': 'Taiwan'}brand_nation 딕셔너리 만들어주기.df['brand'].map(brand_nation)brand 컬럼에 brand_nation 대응되는 걸로 바꾸도록 map 메서드를 이용.잘 바뀐 것을 확..
Data_analysis/Google_colaboratory
2024. 5. 3. 20:20