sales_df.drop("Unnamed: 0",axis = 1,inplace= True) #컬럼명과 위치 동시 출력
KeyError: "['Unnamed: 0'] not found in axis
"
이거는 파일 이름 잘못 써서
# 다중 그룹화
# 다중 그룹화
merge_data.groupby("payment_month","item_name").sum()["price"]
# 다중 그룹화
merge_data.groupby(["payment_month","item_name"]).sum()["price"]
'오답 노트 > 파이썬 에러코드' 카테고리의 다른 글
missint 1 required positional argument: 'x' (0) | 2022.07.04 |
---|---|
column삭제시 axis=1 꼭 기입할 것! (0) | 2022.07.02 |
R에러 코드 (0) | 2022.06.28 |
텍스트로 인식하는 오류 (0) | 2022.06.16 |
텍스트로 인식하는 오류 (0) | 2022.06.16 |