Python 熊猫:雅虎或谷歌金融52周新高
有人知道你是否能从雅虎或谷歌金融获得52周来最高的熊猫数量吗?谢谢 有可能,请退房。下面是一个例子:Python 熊猫:雅虎或谷歌金融52周新高,python,pandas,yahoo,finance,Python,Pandas,Yahoo,Finance,有人知道你是否能从雅虎或谷歌金融获得52周来最高的熊猫数量吗?谢谢 有可能,请退房。下面是一个例子: import pandas.io.data as web import datetime symbol = 'aapl' end = datetime.datetime.now() start = end - datetime.timedelta(weeks=52) df = web.DataReader(symbol, 'yahoo', start, end) highest_high
import pandas.io.data as web
import datetime
symbol = 'aapl'
end = datetime.datetime.now()
start = end - datetime.timedelta(weeks=52)
df = web.DataReader(symbol, 'yahoo', start, end)
highest_high = df['High'].max()
谢谢有没有可能不提取所有52周的数据?i、 e.他们是否将52周高点存储在特定字段中。谢谢