데이터 프레임 특정 컬럼명 변경
- rename 이용!
df_aerial_war.rename(columns = {'Mission Date':'Date'}, inplace=True)
'언어 꿀Tip > Python 꿀tip!' 카테고리의 다른 글
07_01_68. pd.pivot_table 컬럼명 prefix (0) | 2021.07.23 |
---|---|
07_01_67. 더미변수 생성하기 get_dummies (0) | 2021.07.16 |
07_01_60. datetime 에서 year, month, day 데이터 컬럼 생성 (0) | 2021.06.23 |
07_01_59. string(object) to datetime 문자형을 날짜형으로 변경 python (0) | 2021.06.23 |
07_01_58. seaborn barplot 막대그래프 (0) | 2021.06.23 |