C Lang/machine learing
- 5-2. casestudy 2019.03.16
- 5-1. groupby1(groupby, swaplevel, unstack, aggregation, transformation, filteration) 2019.03.14
- 4-7. pandas built in function(describe, unique, sum, isnull, sort, correlation, covariance, ) 2019.03.14
- 4-6.dataframe operation/lamda map(series operation, dataframe operation, lambda함수,) 2019.03.14
- 4-6, 4-7. series operation, lambda 2019.02.24
- 4-5. selection and drop(selection with column name, number, drop with name, number, axis) 2019.02.23
- 4-4.Pandas Section(dataFramem, dataFrame에서 콜렄값 추출, df.loc, broadcasting, transpse dataframe값을 numpy값으로 바꿔주는 value값) 2019.02.23
- 4-3 Pandas Section(Series, list데이터의 series, dict데이터의 sereis) 2019.02.23
5-2. casestudy
2019. 3. 16. 21:06
5-1. groupby1(groupby, swaplevel, unstack, aggregation, transformation, filteration)
2019. 3. 14. 22:12
df.groupby된 정보는 object에 불과함
Out[17]:
In [19]:
df.groupby(["column1", "column2"])["data"].연산함수()
➡컬럼1과 컬럼2를 기준으로 컬럼을 그룹화 시킨다음에, 그 안에 들어가는 실질적인 데이터는 data에 연산함수 적용한걸 넣을거야
Out[17]:
In [19]:
10 royals 1 15 345)
'C Lang > machine learing' 카테고리의 다른 글
5-3. Pivot table & Crosstab (0) | 2019.03.16 |
---|---|
5-2. casestudy (0) | 2019.03.16 |
4-7. pandas built in function(describe, unique, sum, isnull, sort, correlation, covariance, ) (0) | 2019.03.14 |
4-6.dataframe operation/lamda map(series operation, dataframe operation, lambda함수,) (0) | 2019.03.14 |
4-6, 4-7. series operation, lambda (0) | 2019.02.24 |
4-7. pandas built in function(describe, unique, sum, isnull, sort, correlation, covariance, )
2019. 3. 14. 21:50
'C Lang > machine learing' 카테고리의 다른 글
5-2. casestudy (0) | 2019.03.16 |
---|---|
5-1. groupby1(groupby, swaplevel, unstack, aggregation, transformation, filteration) (0) | 2019.03.14 |
4-6.dataframe operation/lamda map(series operation, dataframe operation, lambda함수,) (0) | 2019.03.14 |
4-6, 4-7. series operation, lambda (0) | 2019.02.24 |
4-5. selection and drop(selection with column name, number, drop with name, number, axis) (0) | 2019.02.23 |
4-6.dataframe operation/lamda map(series operation, dataframe operation, lambda함수,)
2019. 3. 14. 21:48
'C Lang > machine learing' 카테고리의 다른 글
4-6, 4-7. series operation, lambda
2019. 2. 24. 15:55
*lambda 내의 if문
a = 2 result = 'negative' if a < 0 else 'positive' if a > 0 else 'zero' print(result) # positive a = -2 result = 'negative' if a < 0 else 'positive' if a > 0 else 'zero' print(result) # negative a = 0 result = 'negative' if a < 0 else 'positive' if a > 0 else 'zero' print(result) # zero
https://note.nkmk.me/python-if-conditional-expressions/
'C Lang > machine learing' 카테고리의 다른 글
4-5. selection and drop(selection with column name, number, drop with name, number, axis)
2019. 2. 23. 23:45
'C Lang > machine learing' 카테고리의 다른 글
4-4.Pandas Section(dataFramem, dataFrame에서 콜렄값 추출, df.loc, broadcasting, transpse dataframe값을 numpy값으로 바꿔주는 value값)
2019. 2. 23. 22:10
*dataframe값에 values 함수를 활용하면 numpy값으로 변환해준다.
Out[8]:
'C Lang > machine learing' 카테고리의 다른 글
4-6, 4-7. series operation, lambda (0) | 2019.02.24 |
---|---|
4-5. selection and drop(selection with column name, number, drop with name, number, axis) (0) | 2019.02.23 |
4-3 Pandas Section(Series, list데이터의 series, dict데이터의 sereis) (0) | 2019.02.23 |
3-8. Numpy(boolean,numpy i o (0) | 2018.11.20 |
3-7. Numpy(comparision:all,any,comparision operation, where,argmax,argmin,sort,converse sort) (0) | 2018.11.20 |
4-3 Pandas Section(Series, list데이터의 series, dict데이터의 sereis)
2019. 2. 23. 15:46