You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/io.rst
+33
Original file line number
Diff line number
Diff line change
@@ -2477,6 +2477,8 @@ sources into a DataFrame. Currently the following sources are supported:
2477
2477
2478
2478
It should be noted, that various sources support different kinds of data, so notall sources implement the same methods and the data elements returned might also differ.
2479
2479
2480
+
Loading Yahoo! Finance data:
2481
+
2480
2482
.. ipython:: python
2481
2483
2482
2484
import pandas.io.data as web
@@ -2485,3 +2487,34 @@ It should be noted, that various sources support different kinds of data, so not
2485
2487
end= datetime(2013, 01, 27)
2486
2488
f=web.DataReader("F", 'yahoo', start, end)
2487
2489
f.ix['2010-01-04']
2490
+
2491
+
Loading Google Finance data:
2492
+
2493
+
.. ipython:: python
2494
+
2495
+
import pandas.io.data as web
2496
+
from datetime import datetime
2497
+
start= datetime(2010, 1, 1)
2498
+
end= datetime(2013, 01, 27)
2499
+
f=web.DataReader("F", 'google', start, end)
2500
+
f.ix['2010-01-04']
2501
+
2502
+
Loading FRED data:
2503
+
2504
+
.. ipython:: python
2505
+
2506
+
import pandas.io.data as web
2507
+
from datetime import datetime
2508
+
start= datetime(2010, 1, 1)
2509
+
end= datetime(2013, 01, 27)
2510
+
gdp=web.DataReader("GDP", "fred", start, end)
2511
+
gdp.ix['2013-01-01']
2512
+
2513
+
Loading Fama/French data (the dataset names are listed at `Fama/French Data Library
0 commit comments