AI·빅데이터 융합 경영학 Study Note
'Series' object has no attribute 'split' 본문
문제 코드
apart_df1['구']= apart_df1['행정구역'].split(' ')[1]
csv 파일은 이런 형식이고 '구' 데이터만 필요하다.

오류 코드
'Series' object has no attribute 'split'
해결
apart_df1['구']= str(apart_df1['행정구역']).split(' ')[1]
'기타 > 오류 해결' 카테고리의 다른 글
Line magic function `%%time` not found. (1) | 2023.12.04 |
---|---|
(unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape (1) | 2023.11.29 |
unindent does not match any outer indentation level (1) | 2023.11.22 |
'utf-8' codec can't decode byte 0xe0 in position 39: invalid continuation byte (0) | 2023.11.21 |
No module named 'kerastuner' (0) | 2023.11.21 |