Python
pd.dataframe Argument 'rows' has incorrect type (expected list, got tuple)
ndlessrain
2021. 1. 18. 15:45
728x90
pandas 버전 차이인지, 읽어온 데이터를 dataframe으로 변환하려는데 에러가 난다.
list로 감싸주면 된다.
result = pd.DataFrame(list(result))
728x90