Created
November 6, 2016 13:22
-
-
Save sawadyrr5/19420715b3290323f0ada0691bed3527 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin python | |
# -*- coding: UTF-8 -*- | |
from pandas_datareader.base import _DailyBaseReader | |
import pandas as pd | |
class TseDataReader(_DailyBaseReader): | |
@property | |
def url(self): | |
return 'http://www.jpx.co.jp/listing/others/margin/tvdivq0000000od2-att/list.xls' | |
def read(self): | |
""" read data """ | |
return pd.read_excel(self.url, skiprows=1, sheetname='一覧') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment