커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
2-3 엑셀 가져오기에서 파일이 불러와지지 않습니다.
undefined주차
북마크
신*지
댓글
1
추천
0
조회수
13
조회수
13
답변 완료

* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.

* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.


파일 창으로 종목데이터 파일을 끌어다 놨는데 에러가 뜨네요. 강의 자료에서 코드 복붙해서 넣어도 안됩니다..


어떻게 하면 될까요?



스파르타 즉문즉답




작성한 코드 및 에러 메세지

df = pd.read_excel('종목데이터.xlsx')


df


---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-4-690a808f532c> in <cell line: 1>()
----> 1 df = pd.read_excel('종목데이터.xlsx')
      2 
      3 df


5 frames
/usr/local/lib/python3.9/dist-packages/pandas/io/common.py in get_handle(path_or_buf, mode, encoding, compression, memory_map, is_text, errors, storage_options)
    863         else:
    864             # Binary mode
--> 865             handle = open(handle, ioargs.mode)
    866         handles.append(handle)
    867 

FileNotFoundError: [Errno 2] No such file or directory: '종목데이터.xlsx'


취소
 공유
취소
댓글 0
댓글 알림
나의얼굴