묻고 답해요
141만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결파이썬 증권 데이터 수집과 분석으로 신호와 소음 찾기
목차 활성화가 안나옵니다.
알려주신 두가지 방법으로 설치를 실행했지만, 목차 활성화 창이 뜨지 않습니다. 왜 그럴까요? 알려주시면 감사하겠습니다.
-
미해결파이썬 증권 데이터 수집과 분석으로 신호와 소음 찾기
FinanceDataReader - ModuleNotFoundError
input 파일로 실습중입니다. !pip install -U finance-datareader(주석처리 지움)로 FinanceDataReader를 설치후 import FinanceDataReader as fdr fdr.__version__ 를 했는데 다음과 같은 오류가 나옵니다. --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-3-e3a60539cbc3> in <module> 1 # FinanceDataReader 를 fdr 별칭으로 불러옵니다. 2 # 라이브러리의 version을 확인하고 싶을 때는 .__version__ 으로 확인합니다. ----> 3 import FinanceDataReader as fdr 4 fdr.__version__ ModuleNotFoundError: No module named 'FinanceDataReader' 실습환경은 macos 11.2.3입니다. pip list 첨부했으며 finance-datareader만 제가 Bold처리 했습니다. (base) imigjuucBookPro:~ ikedo$ pip list Package Version ------------------------------------------------- ------------ anaconda 0.0.1.1 appnope 0.1.2 asgiref 3.3.1 backcall 0.2.0 beautifulsoup4 4.9.3 bokeh 2.2.3 bs4 0.0.1 certifi 2020.12.5 chardet 3.0.4 colorama 0.4.4 commonmark 0.9.1 conda 4.3.16 cycler 0.10.0 DateTime 4.3 decorator 4.4.2 Django 3.1.7 django-ckeditor 6.0.0 django-crispy-forms 1.11.1 django-extensions 3.1.1 django-js-asset 1.2.2 django-markdown 0.8.4 django-markdownx 3.0.1 finance-datareader 0.9.31 gunicorn 20.0.4 httplib2 0.10.3 idna 2.6 inflect 0.2.5 ipython 7.21.0 ipython-genutils 0.2.0 jedi 0.18.0 Jinja2 2.11.2 keyboard 0.13.5 kiwisolver 1.3.1 lxml 4.6.3 Markdown 3.3.4 MarkupSafe 1.1.1 matplotlib 3.3.3 monotonic 1.5 numpy 1.19.4 oauth2client 3.0.0 packaging 20.8 pandas 1.2.4 parso 0.8.1 pexpect 4.8.0 pickleshare 0.7.5 Pillow 8.1.0 pip 21.1.2 plotly 4.14.1 prettytable 2.0.0 prompt-toolkit 3.0.16 protobuf 3.4.0 psycopg2-binary 2.8.6 ptyprocess 0.7.0 pyasn1 0.3.7 pyasn1-modules 0.1.5 pycosat 0.6.3 Pygments 2.8.0 pykrx 0.1.42 pyobjc 7.1 pyobjc-core 7.1 pyobjc-framework-Accessibility 7.1 pyobjc-framework-Accounts 7.1 pyobjc-framework-AddressBook 7.1 pyobjc-framework-AdServices 7.1 pyobjc-framework-AdSupport 7.1 pyobjc-framework-AppleScriptKit 7.1 pyobjc-framework-AppleScriptObjC 7.1 pyobjc-framework-ApplicationServices 7.1 pyobjc-framework-AppTrackingTransparency 7.1 pyobjc-framework-AuthenticationServices 7.1 pyobjc-framework-AutomaticAssessmentConfiguration 7.1 pyobjc-framework-Automator 7.1 pyobjc-framework-AVFoundation 7.1 pyobjc-framework-AVKit 7.1 pyobjc-framework-BusinessChat 7.1 pyobjc-framework-CalendarStore 7.1 pyobjc-framework-CallKit 7.1 pyobjc-framework-CFNetwork 7.1 pyobjc-framework-ClassKit 7.1 pyobjc-framework-CloudKit 7.1 pyobjc-framework-Cocoa 7.1 pyobjc-framework-Collaboration 7.1 pyobjc-framework-ColorSync 7.1 pyobjc-framework-Contacts 7.1 pyobjc-framework-ContactsUI 7.1 pyobjc-framework-CoreAudio 7.1 pyobjc-framework-CoreAudioKit 7.1 pyobjc-framework-CoreBluetooth 7.1 pyobjc-framework-CoreData 7.1 pyobjc-framework-CoreHaptics 7.1 pyobjc-framework-CoreLocation 7.1 pyobjc-framework-CoreMedia 7.1 pyobjc-framework-CoreMediaIO 7.1 pyobjc-framework-CoreMIDI 7.1 pyobjc-framework-CoreML 7.1 pyobjc-framework-CoreMotion 7.1 pyobjc-framework-CoreServices 7.1 pyobjc-framework-CoreSpotlight 7.1 pyobjc-framework-CoreText 7.1 pyobjc-framework-CoreWLAN 7.1 pyobjc-framework-CryptoTokenKit 7.1 pyobjc-framework-DeviceCheck 7.1 pyobjc-framework-DictionaryServices 7.1 pyobjc-framework-DiscRecording 7.1 pyobjc-framework-DiscRecordingUI 7.1 pyobjc-framework-DiskArbitration 7.1 pyobjc-framework-DVDPlayback 7.1 pyobjc-framework-EventKit 7.1 pyobjc-framework-ExceptionHandling 7.1 pyobjc-framework-ExecutionPolicy 7.1 pyobjc-framework-ExternalAccessory 7.1 pyobjc-framework-FileProvider 7.1 pyobjc-framework-FileProviderUI 7.1 pyobjc-framework-FinderSync 7.1 pyobjc-framework-FSEvents 7.1 pyobjc-framework-GameCenter 7.1 pyobjc-framework-GameController 7.1 pyobjc-framework-GameKit 7.1 pyobjc-framework-GameplayKit 7.1 pyobjc-framework-ImageCaptureCore 7.1 pyobjc-framework-IMServicePlugIn 7.1 pyobjc-framework-InputMethodKit 7.1 pyobjc-framework-InstallerPlugins 7.1 pyobjc-framework-InstantMessage 7.1 pyobjc-framework-Intents 7.1 pyobjc-framework-IOSurface 7.1 pyobjc-framework-iTunesLibrary 7.1 pyobjc-framework-KernelManagement 7.1 pyobjc-framework-LatentSemanticMapping 7.1 pyobjc-framework-LaunchServices 7.1 pyobjc-framework-libdispatch 7.1 pyobjc-framework-LinkPresentation 7.1 pyobjc-framework-LocalAuthentication 7.1 pyobjc-framework-MapKit 7.1 pyobjc-framework-MediaAccessibility 7.1 pyobjc-framework-MediaLibrary 7.1 pyobjc-framework-MediaPlayer 7.1 pyobjc-framework-MediaToolbox 7.1 pyobjc-framework-Metal 7.1 pyobjc-framework-MetalKit 7.1 pyobjc-framework-MetalPerformanceShaders 7.1 pyobjc-framework-MetalPerformanceShadersGraph 7.1 pyobjc-framework-MLCompute 7.1 pyobjc-framework-ModelIO 7.1 pyobjc-framework-MultipeerConnectivity 7.1 pyobjc-framework-NaturalLanguage 7.1 pyobjc-framework-NetFS 7.1 pyobjc-framework-Network 7.1 pyobjc-framework-NetworkExtension 7.1 pyobjc-framework-NotificationCenter 7.1 pyobjc-framework-OpenDirectory 7.1 pyobjc-framework-OSAKit 7.1 pyobjc-framework-OSLog 7.1 pyobjc-framework-PassKit 7.1 pyobjc-framework-PencilKit 7.1 pyobjc-framework-Photos 7.1 pyobjc-framework-PhotosUI 7.1 pyobjc-framework-PreferencePanes 7.1 pyobjc-framework-PushKit 7.1 pyobjc-framework-Quartz 7.1 pyobjc-framework-QuickLookThumbnailing 7.1 pyobjc-framework-ReplayKit 7.1 pyobjc-framework-SafariServices 7.1 pyobjc-framework-SceneKit 7.1 pyobjc-framework-ScreenSaver 7.1 pyobjc-framework-ScreenTime 7.1 pyobjc-framework-ScriptingBridge 7.1 pyobjc-framework-SearchKit 7.1 pyobjc-framework-Security 7.1 pyobjc-framework-SecurityFoundation 7.1 pyobjc-framework-SecurityInterface 7.1 pyobjc-framework-ServiceManagement 7.1 pyobjc-framework-Social 7.1 pyobjc-framework-SoundAnalysis 7.1 pyobjc-framework-Speech 7.1 pyobjc-framework-SpriteKit 7.1 pyobjc-framework-StoreKit 7.1 pyobjc-framework-SyncServices 7.1 pyobjc-framework-SystemConfiguration 7.1 pyobjc-framework-SystemExtensions 7.1 pyobjc-framework-UniformTypeIdentifiers 7.1 pyobjc-framework-UserNotifications 7.1 pyobjc-framework-UserNotificationsUI 7.1 pyobjc-framework-VideoSubscriberAccount 7.1 pyobjc-framework-VideoToolbox 7.1 pyobjc-framework-Virtualization 7.1 pyobjc-framework-Vision 7.1 pyobjc-framework-WebKit 7.1 pyparsing 2.4.7 python-dateutil 2.8.1 pytz 2021.1 PyYAML 5.3.1 requests 2.25.0 requests-file 1.5.1 retrying 1.3.3 rich 9.11.0 rsa 3.4.2 ruamel.yaml 0.16.12 scipy 1.5.4 seaborn 0.11.0 setuptools 49.2.1 simplejson 3.17.2 six 1.11.0 soupsieve 2.2 sqlparse 0.4.1 tenacity 4.4.0 tinytag 0.18.0 tornado 6.1 tqdm 4.19.2 traitlets 5.0.5 typing-extensions 3.7.4.3 Unidecode 1.0.22 urllib3 1.22 view 0.1 wcwidth 0.2.5 Werkzeug 0.12.2 xlrd 2.0.1 youtube-dl 2017.10.15.1 zope.interface 5.2.0
-
해결됨파이썬 증권 데이터 수집과 분석으로 신호와 소음 찾기
df["ListingYear"] >> df["ListingDate] 로 변경
강의에서는 ListingYear 로 된 부분이 있는데, 이 부분을 ListingDate로 변경해야 출력이 됩니다. (>> KRX의 index가 이름이 변경되서 그런 것 같네요)