We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c99f78a commit 2758eeaCopy full SHA for 2758eea
doc/source/stats.rst
@@ -200,7 +200,7 @@ Let's pull in some sample data:
200
data = dict((sym, DataReader(sym, "yahoo"))
201
for sym in symbols)
202
panel = Panel(data).swapaxes('items', 'minor')
203
- close_px = panel['close']
+ close_px = panel['Close']
204
205
# convert closing prices to returns
206
rets = close_px / close_px.shift(1) - 1
@@ -289,7 +289,7 @@ actually quite easy:
289
.. ipython:: python
290
291
# make the units somewhat comparable
292
- volume = panel['volume'] / 1e8
+ volume = panel['Volume'] / 1e8
293
model = ols(y=volume, x={'return' : np.abs(rets)})
294
model
295
0 commit comments