1.
how = "left"
2.
원래 파일 자체의 속성을 잘 봐야 함
3.
month_2017
4.
5.
문법적인 에러 발생
6.drop에러
앞에 drop은 따로 지정안해줘도 됨. inplace = True 변경 값 지정
inplace = True
inplace = True !!! 스트링 형태로 나타내면 안됨
6.
##피벗테이블을 통해 작업하면 편함
year_month_total = pd.pivot_table(total_df,index=["집행월"],columns=["집행연도"],values={"집행금액"},aggfunc='sum')
year_month_total
'오답 노트 > 파이썬 에러코드' 카테고리의 다른 글
텍스트로 인식하는 오류 (0) | 2022.06.16 |
---|---|
name 'mod_sql' is not defined (0) | 2022.06.16 |
2022.06.10 (0) | 2022.06.10 |
2022.06.09 (0) | 2022.06.09 |
2022.06.08 (0) | 2022.06.08 |