Skip to content

DOC: Fix index error for remote data docs. #7495

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 18, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/source/remote_data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ to the specific option you want.
from pandas.io.data import Options
aapl = Options('aapl', 'yahoo')
data = aapl.get_all_data()
data.iloc[0:5:, 0:5]
data.iloc[0:5, 0:5]

#Show the $100 strike puts at all expiry dates:
data.loc[(100, slice(None), 'put'),:].iloc[0:5:, 0:5]
data.loc[(100, slice(None), 'put'),:].iloc[0:5, 0:5]

#Show the volume traded of $100 strike puts at all expiry dates:
data.loc[(100, slice(None), 'put'),'Vol'].iloc[0:5:, 0:5]
data.loc[(100, slice(None), 'put'),'Vol'].head()

If you don't want to download all the data, more specific requests can be made.

Expand Down
12 changes: 2 additions & 10 deletions doc/source/v0.14.1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -148,23 +148,15 @@ Performance
Experimental
~~~~~~~~~~~~

``pandas.io.data.Options`` has a get_all_data method and now consistently returns a multi-indexed ``DataFrame`` (PR `#5602`)
``pandas.io.data.Options`` has a get_all_data method and now consistently returns a multi-indexed ``DataFrame`` (:issue:`5602`)
See :ref:`the docs<remote_data.yahoo_Options>` ***Experimental***

.. ipython:: python

from pandas.io.data import Options
aapl = Options('aapl', 'yahoo')
data = aapl.get_all_data()
data.iloc[0:5:, 0:5]


.. ipython:: python

from pandas.io.data import Options
aapl = Options('aapl', 'yahoo')
data = aapl.get_all_data()
data.iloc[0:5:, 0:5]
data.iloc[0:5, 0:5]


.. _whatsnew_0141.bug_fixes:
Expand Down