S & P에서 데이터를 가져 오려고하는데이 오류가 발생합니다.CSV 파일에서 누락 된 데이터를 어떻게 피할 수 있습니까?
FileNotFoundError: File b'S&P_dfs/LMT.csv' does not exist Now this is is caused by this error: RemoteDataError('Unable to read URL: {0}'.format(url)) pandas_datareader._utils.RemoteDataError: Unable to read URL: http://www.google.com/finance/historical?q=LMT&startdate=Jan+01%2C+2000&enddate=Dec+20%2C+2016&output=csv
나는이 오류를 해결하기 위해 try and accept를 사용했습니다. 하지만 이제 다음 단계는 티커 CSV 파일에서 재무 데이터를 가져 오는 것입니다. 파이썬을 어떻게 실행시키고 누락 된 파일을 건너 뛸 수 있습니까?
당신은 당신의 코드를 게시하시기 바랍니다 수 있습니까? 다중 URL이 있고 그 중 하나가 존재하지 않는 것이 맞습니다. 누락 된 경우 건너 뛰기를 원하십니까? –