분류 전체보기 6

pandas read_html() ValueError : No tables found 오류

해결방법 1 https://philosopher-chan.tistory.com/767 해결방법 2 https://pypjct.tistory.com/3 [파이썬을 이용한 주식 크롤링] 2. pd.read_html 함수가 작동하지 않는 이유 [파이썬을 이용한 주식 크롤링] 2. pd.read_html 함수가 작동하지 않는 이유 이번 시간에는 파이썬 크롤링을 이용하여 삼성전자의 재무재표를 얻어볼 것입니다. 결과적으로 실패하게 될건데요. 실 pypjct.tistory.com

파이썬 2021.08.17

웹스크래핑 BeautifulSoup 설치와 에러발생 대처 방법 : bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: html5lib. Do you need to install a parser library?

파이선 웹스크래핑에서 많이 쓰이는 BeautifulSoup의 설치 pip install bs4 BeautifulSoup 사용 중 error 발생 문구 bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: html5lib. Do you need to install a parser library? 해결망법 html4lib를 설치해주면 된다. pip install html5lib

파이썬 2021.08.14

txt 파일에 데이터 열어서 그래프 그리기

1. dialog로부터 파일 경로 받아오기 ########################################################### import tkinter as tk from tkinter import filedialog root = tk.Tk() root.withdraw() file_path = filedialog.askopenfilename() print('파일경로:', file_path) ########################################################### 2. 경로에서 데이터 불러오기 ########################################################### import numpy as np import m..

파이썬 2021.07.04