panel
- 我认为很快就会从大熊猫中删除。有谁知道如何将数据提取到multiindexed dataframe
代替小组?
import pandas_datareader as data
stock_data = data.DataReader(['AAPL','GE'], 'yahoo', datetime(2017,1,1), datetime.now())
In [121]: stock_data
Out [121]:
<class 'pandas.core.panel.Panel'>
Dimensions: 6 (items) x 91 (major_axis) x 2 (minor_axis)
Items axis: Open to Adj Close
Major_axis axis: 2017-01-03 00:00:00 to 2017-05-12 00:00:00
Minor_axis axis: AAPL to GE
非常感谢!
答案 0 :(得分:1)