일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- adaptive life cycle
- 프로젝트
- Method
- Scrum
- 자바스크립트
- analyzing
- ECS
- AWS
- opencv
- 다나와
- keras
- data analyze
- angular
- TypeScript
- pandas
- python
- Project
- webcrawling
- Agile
- Crawling
- visualizing
- DANAWA
- instance
- matplotlib
- data
- 크롤링
- algorithm
- javascript
- 애자일
- tensorflow
- Today
- Total
목록GroupBy (2)
LiJell's 성장기

""" Created on Wed Jan 12 2021 @author: hanju """ 1. 데이터 불러오기 file download: https://github.com/Play-with-data/datasalon 02_개정판을 이용 import pandas as pd import numpy as np csv file 불러오기 fish = pd.read_csv('https://bit.ly/fish_csv', encoding = 'utf-8') # 한글 오류 있으면 encoding = 'euc-kr' fish ''' Species Weight Length Diagonal Height Width 0 Bream 242.0 25.4 30.0 11.5200 4.0200 1 Bream 290.0 26.3 31.2..
Modified on Jan 05 2022 # -_- coding: utf-8 -_- """ Created on Mon Dec 27 11:15:23 2021 @author: hanju """ python pandas groupby 그룹연산 성별 성적 평균, 학년별 성적 최고점수, 부서별 평균 연봉 groupby import pandas as pd from pandas import Series, DataFrame kimchi = pd.read_csv("./data/kimchi_test.csv", encoding='cp949') ''' kimchi.groupby(by=None, # 그룹핑 할 컬럼(기준) axis= 0, # 그룹핑 연산 방향 level = None) # 멀..