| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| 31 |
- 다이어트
- GIT
- PyQt5
- node.js
- ubuntu
- Excel
- MS-SQL
- tensorflow
- 유니티
- IOS
- PER
- 라즈베리파이
- urllib
- sqlite
- mssql
- PyQt
- MySQL
- port
- pandas
- 맛집
- 함수
- python
- Unity
- 리눅스
- ASP
- 날짜
- Linux
- swift
- javascript
- flutter
목록2025/08/06 (3)
아미(아름다운미소)
import pandas as pdimport requestsfrom typing import Optional, Dict, Any, Tupleimport warningswarnings.filterwarnings('ignore')class EnhancedFinancialAnalyzer: """네이버 금융 재무제표 분석기 - 확장된 재무비율 포함""" def __init__(self): self.headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36' } ..
import pandas as pdimport requestsfrom typing import Optional, Dict, Anyimport warningswarnings.filterwarnings('ignore')class FinancialAnalyzer: """네이버 금융 재무제표 분석기""" def __init__(self): self.headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36' } def get_financial_..
import pandas as pdimport requestsdef get_financial_statement(ticker): """ 네이버 금융에서 손익계산서 데이터를 가져오는 함수 """ url = f'https://finance.naver.com/item/main.naver?code={ticker}' try: tables = pd.read_html(url, encoding='euc-kr') except: return None for table in tables: if table.shape[1] >= 3 and '매출액' in table.iloc[:, 0].values: return table retu..