Python
2022. 5. 30. 11:38
dataframe column의 index를 가져오는 코드
import pandas as pd
df = pd.read_csv("")
df.columns.get_loc("columns_name")
'Python' 카테고리의 다른 글
Isolation Forest와 One-Class SVM (0) | 2022.06.03 |
---|---|
[python] sklearn RandomizedSearchCV (0) | 2022.05.30 |
[Python]이미지 파일 불러와서 일자별로 폴더 생성 후 복사 (0) | 2022.05.29 |
dataframe groupby agg percentile (0) | 2022.05.02 |
decimal. 부동소수점 계산을 위한 라이브러리 (0) | 2022.03.30 |