728x90
반응형

pandas 4

Pandas read_excel error : ValueError: Your version of xlrd is 2.0.1. In xlrd >= 2.0, only the xls format is supported. Install openpyxl instead.

[ Code ]import pandas as pddf = pd.read_excel("test.xlsx") [ Error message ]Pandas read_excel error : ValueError: Your version of xlrd is 2.0.1. In xlrd >= 2.0, only the xls format is supported. Install openpyxl instead. [ Reason ]Since xlrd 2.0 and above only supports the xls format and not the xlsx format, install the openpyxl module to process the xlsx format with read_excel in Pandas. [ Solu..

개발/Python 2026.04.11

네이버 주식 일별 시세 pandas read_html() ValueError: No tables found 오류

네이버 주식 일별 시세 pandas read_html() 오류 --------------------------------------------------------------------------------------------------- import pandas as pd # 네이버 금융 주식 일별시세(예, LG전자[066570]) url = "https://finance.naver.com/item/sise_day.nhn?code=066570" df = pd.read_html(url) --------------------------------------------------------------------------------------------------- => 오류 발생 : ValueError:..

개발/Python 2021.05.21
728x90
반응형