Skip to content

Commit 04c0c14

Browse files
committed
Doc for pandas.io.data
1 parent 517ec82 commit 04c0c14

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

doc/source/io.rst

+22
Original file line numberDiff line numberDiff line change
@@ -2463,3 +2463,25 @@ Alternatively, the function :func:`~pandas.io.stata.read_stata` can be used
24632463
24642464
import os
24652465
os.remove('stata.dta')
2466+
2467+
Data
2468+
----
2469+
2470+
Functions from :mod:`pandas.io.data` extract data from various Internet
2471+
sources into a DataFrame. Currently the following sources are supported:
2472+
2473+
- Yahoo! Finance
2474+
- Google Finance
2475+
- St. Louis FED (FRED)
2476+
- Kenneth French's data library
2477+
2478+
It should be noted, that various sources support different kinds of data, so not all sources implement the same methods and the data elements returned might also differ.
2479+
2480+
.. ipython:: python
2481+
2482+
import pandas.io.data as web
2483+
from datetime import datetime
2484+
start = datetime(2010, 1, 1)
2485+
end = datetime(2013, 01, 27)
2486+
f=web.DataReader("F", 'yahoo', start, end)
2487+
f.ix['2010-01-04']

0 commit comments

Comments
 (0)