TypeError: first argument must be an iterable of pandas objects, you passed an object of type "DataFrame"

데이터 분석/[Python] Troubleshooting

TypeError: first argument must be an iterable of pandas objects, you passed an object of type "DataFrame"

INCHELIN 2021. 9. 23. 16:01
728x90

 

pd.concat(data1, data2)

TypeError: first argument must be an iterable of pandas objects, you passed an object of type "DataFrame"

 

해결 -> 데이터를 리스트 안에 넣어주기!

pd.concat([data1, data2])

 

728x90