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
- Ann
- VGGNet
- TFX
- Logistic Regression
- NMF
- 군집화
- Python
- textmining
- tensorflow
- nlp
- stemming
- cross domain
- NER
- Attention
- Transfer Learning
- Gradient Descent
- LSTM
- Generative model
- SOMs
- BERT
- RNN
- 자기조직화지도
- gaze estimation
- ResNet
- Support Vector Machine
- 경사하강법
- Binary classification
- Clustering
- AI 윤리
- MLOps
Archives
- Today
- Total
목록apply (1)
juooo1117
데이터 처리(조회,변환,집계,일괄처리,범주형) - pandas
원하는 조건을 데이터를 조회하고 일괄적으로 처리하는 방법에 대해 정리해 보자 1. 데이터 조회 - filter() # 'Age'의 평균이 20이상이면 return! def check_mean(data): return data['Age'].mean() >= 20 # 'Country' 별 'Age'의 평균이 20이상인 값 조회 df.groupyby('Country').filter(check_mean) # 'col_name'과 'threshold'를 입력으로 받음 def check_mean2(data, col_name, threshold): return data[col_name].mean() >= threshold df.groupby('Country').filter(check_mean2, col_name='A..
python
2023. 10. 1. 21:13