## regex 에 해당되는 컬럼명을 추출하기
df_1y_ag_new_s=df_1y_ag_new.filter( regex='origin|goods|sum|qty_mean|cv', axis=1)
'언어 꿀Tip > Python 꿀tip!' 카테고리의 다른 글
07_01_15. pandas sql (데이터프레임) (0) | 2021.03.24 |
---|---|
07_01_16. multi index filtering (0) | 2021.03.16 |
07_01_13. 데이터프레임 공백 제거 strip() (0) | 2021.03.09 |
07_01_12. aggregation column level down & 컬럼명 변경 (0) | 2021.03.09 |
07_01_11. pickle 형태로 내보내기 / 불러오기 (0) | 2021.02.26 |