Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

메리츠 화재 재무제표 금액에 대한 오류 문의 #55

Closed
cinema08 opened this issue Nov 10, 2020 · 2 comments · Fixed by #56
Closed

메리츠 화재 재무제표 금액에 대한 오류 문의 #55

cinema08 opened this issue Nov 10, 2020 · 2 comments · Fixed by #56

Comments

@cinema08
Copy link

안녕하세요!
우선 좋은 라이브러리를 제공해주셔서 감사합니다.
일부 재무제표 값을 불러오는 중에 너무 크게 가져오는 값이 있어서 질문 드립니다.

메리츠 화재 재무제표를 불러왔는데

코드 내용
corp_cd = corp_list.find_by_stock_code("000060")
tmp = corp_cd.extract_fs(bgn_de='20140101', end_de='20141231', report_tp='annual', separate=False)

image

실제로는
image

실제로 몇개 회사의 재무제표 값이 과대로 추출되는 현상이 있는 것 같습니다.

@josw123
Copy link
Owner

josw123 commented Nov 10, 2020

안녕하세요.

보내주신 내용을 확인해보니
태그를 이용하여 나누어져 있는 것을 인식하지 못하여 생기는 문제로 생각됩니다.
dart-fss 라이브러리 내부에서는 pandas 라이브러리를 이용하여 table을 dataframe 형태로 변환하는데
이때 아래와 같이
태그로 구분된 경우에도 하나로 인식하는 것으로 생각됩니다.

image

이 문제 처리 방법은 한번 고민해보도록 하겠습니다.

@cinema08
Copy link
Author

답변 감사합니다.

josw123 added a commit that referenced this issue Nov 18, 2020
메리츠 화재 재무제표 추출 시 테이블 내부에 있는 br 태그 처리 함수 추가
josw123 added a commit that referenced this issue Nov 18, 2020
@josw123 josw123 mentioned this issue Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants