IT skill/Python TypeError: Index(...) must be called with a collection of some kind, ' ' was passed - 반응형 Pandas를 다루다보면 TypeError: Index(...) must be called with a collection of some kind, ' ' was passed 와 같은 에러를 마주할 수 있습니다. 이 경우에는 높은 확률로 DataFrame을 이렇게 만드셨을 가능성이 있습니다. import pandas as pd pd.DataFrame(element1, element2, element3) 이 부분을 다음과 같이 고쳐줍니다. import pandas as pd pd.DataFrame([element1, element2, element3]) 도움이 되셨다면 아무 광고나 클릭 한 번 부탁드립니다👍 반응형 공유하기 URL 복사카카오톡 공유페이스북 공유엑스 공유 게시글 관리 구독하기Beelog 저작자표시 비영리 Contents 당신이 좋아할만한 콘텐츠 Albumentations 라이브러리 import 에러 2024.02.26 AttributeError: module 'albumentations' has no attribute 'pytorch' 2024.02.21 matplotlib에서 한글 깨짐 해결방법 (ubuntu) 2024.01.04 OSError: Truncated File Read 2023.12.06 댓글 0 + 이전 댓글 더보기