개발 언어/Python
파이썬 pandas xlrd.biffh.XLRDError: Excel xlsx file; not supported 에러
구름고라니
2024. 3. 31. 16:29
반응형
# 엑셀 파일 읽기
df = pd.read_excel(excel_file)
실행 시, 에러가 발생한다.
xlrd에서 더이상 xls 외의 파일을 지원하지 않음.
engine='openpyxl' 옵션을 사용하여 파일을 파싱 할 수 있다.
728x90
반응형