Skip to content

Commit e3b3db5

Browse files
authored
Merge pull request #888 from bashtage/release-0.10.0
RLS: Release 0.10.0
2 parents 6846ba1 + bcfd080 commit e3b3db5

File tree

10 files changed

+49
-43
lines changed

10 files changed

+49
-43
lines changed

docs/source/cache.rst

+3
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,15 @@ passing a ``requests_cache.Session`` to ``DataReader`` or ``Options`` using the
2727
Below is an example with Yahoo! Finance. The session parameter is implemented for all datareaders.
2828

2929
.. ipython:: python
30+
:okexcept:
3031
3132
import pandas_datareader.data as web
33+
from pandas_datareader.yahoo.headers import DEFAULT_HEADERS
3234
import datetime
3335
import requests_cache
3436
expire_after = datetime.timedelta(days=3)
3537
session = requests_cache.CachedSession(cache_name='cache', backend='sqlite', expire_after=expire_after)
38+
session.headers = DEFAULT_HEADERS
3639
start = datetime.datetime(2010, 1, 1)
3740
end = datetime.datetime(2013, 1, 27)
3841
f = web.DataReader("F", 'yahoo', start, end, session=session)

docs/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080

8181
# Write version and build date
8282
with open("_version.txt", "w") as version_file:
83-
doc_date = dt.datetime.now().strftime("%B %-d, %Y")
83+
doc_date = dt.datetime.now().strftime("%B %d, %Y")
8484
version_file.write(f"Version: **{version}** Date: **{doc_date}**\n")
8585

8686
# The language for content autogenerated by Sphinx. Refer to documentation

docs/source/remote_data.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -704,8 +704,8 @@ MOEX Data
704704
=========
705705
The Moscow Exchange (MOEX) provides historical data.
706706
707-
pandas_datareader.get_data_moex(*args) is equivalent to
708-
pandas_datareader.moex.MoexReader(*args).read()
707+
``pandas_datareader.get_data_moex(*args)`` is equivalent to
708+
``pandas_datareader.moex.MoexReader(*args).read()``
709709
710710
.. ipython:: python
711711
@@ -739,7 +739,7 @@ Naver Finance Data
739739
740740
Yahoo Finance Data
741741
==================
742-
`Yahoo Finance provides stock market data
742+
Yahoo Finance provides stock market data
743743
744744
The following endpoints are available:
745745

docs/source/whatsnew.rst

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ What's New
1818

1919
These are new features and improvements of note in each release.
2020

21+
.. include:: whatsnew/v0.10.0.txt
2122
.. include:: whatsnew/v0.9.1.txt
2223
.. include:: whatsnew/v0.9.0.txt
2324
.. include:: whatsnew/v0.8.0.txt

docs/source/whatsnew/v0.10.0.txt

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
.. _whatsnew_0100:
2+
3+
v0.10.0 (July 11, 2021)
4+
---------------------------
5+
6+
Highlights include:
7+
8+
Bug Fixes
9+
~~~~~~~~~
10+
11+
- Fixed Yahoo readers which now require headers
12+
- Fixed other reader
13+
- Improved compatibility with pandas
14+
15+
Contributors
16+
~~~~~~~~~~~~
17+
Thanks to all of the contributors for the 0.10.0 release (based on git log):
18+
19+
- Igor Molnar
20+
- Kevin Sheppard
21+
- galashour
22+
- David Kim
23+
- Kim Philipp Jablonski
24+
- Tim Gates
25+
- Jeff Hale
26+
- Lukas Halim
27+
- Simon Garisch
28+
- Dmitry Alekseev
29+
30+
These lists of names are automatically generated based on git log, and may not
31+
be complete.

docs/source/whatsnew/v0.9.0.txt

+7-36
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,3 @@
1-
.. _whatsnew_091:
2-
3-
v0.9.1 (TBD)
4-
------------
5-
6-
.. contents:: What's new in v0.9.1
7-
:local:
8-
:backlinks: none
9-
10-
11-
.. _whatsnew_091.enhancements:
12-
13-
Enhancements
14-
~~~~~~~~~~~~
15-
- Added the method ``test`` to the package to simplify running tests from an
16-
installation using
17-
18-
.. code-block:: shell
19-
20-
python -c "import pandas_datareader; pandas_datareader.test()"
21-
22-
.. _whatsnew_091.api_breaking:
23-
24-
Backwards incompatible API changes
25-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
26-
27-
- Immediately deprecated old symbol names for TSP to reflect the new website API
28-
29-
.. _whatsnew_091.bug_fixes:
30-
31-
Bug Fixes
32-
~~~~~~~~~
33-
- Update TSP web scraper to new site (:issue:`740`)
34-
35-
.. _whatsnew_090:
36-
371
v0.9.0 (July 10, 2020)
382
----------------------
393

@@ -54,6 +18,12 @@ Enhancements
5418
- Added AlphaVantage endpoint to get historical currency exchange rates (:issue:`764`)
5519
- Improved logging when rate limited (:issue:`745`)
5620
- Added daily historical data from Naver Finance (:issue:`722`)
21+
- Added the method ``test`` to the package to simplify running tests from an
22+
installation using
23+
24+
.. code-block:: shell
25+
26+
python -c "import pandas_datareader; pandas_datareader.test()"
5727

5828
.. _whatsnew_090.api_breaking:
5929

@@ -72,6 +42,7 @@ Bug Fixes
7242
~~~~~~~~~
7343
- Fix Yahoo Splits for change in format (:issue:`756`)
7444
- Fixed reading bond yields from Stooq (:issue:`752`)
45+
- Update TSP web scraper to new site (:issue:`740`)
7546
- Fixed EconDB reader to use session (:issue:`737`)
7647
- Fix reading futures data from Stooq (:issue:`718`)
7748
- Correct NASDAQ symbols fields link (:issue:`715`)

docs/source/whatsnew/v0.9.1.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Enhancements
2020
from every trading board (ver. 0.9.0 behaviour)
2121
- Docs for MOEX reedited
2222

23-
.. _whatsnew_080.bug_fixes:
23+
.. _whatsnew_091.bug_fixes:
2424

2525
Bug Fixes
2626
~~~~~~~~~

pandas_datareader/yahoo/daily.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
from pandas_datareader._utils import RemoteDataError
1010
from pandas_datareader.base import _DailyBaseReader
11-
from pandas_datareader.yahoo._headers import DEFAULT_HEADERS
11+
from pandas_datareader.yahoo.headers import DEFAULT_HEADERS
1212

1313

1414
class YahooDailyReader(_DailyBaseReader):
File renamed without changes.

pandas_datareader/yahoo/quotes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from pandas_datareader.base import _BaseReader
77
from pandas_datareader.compat import string_types
8-
from pandas_datareader.yahoo._headers import DEFAULT_HEADERS
8+
from pandas_datareader.yahoo.headers import DEFAULT_HEADERS
99

1010
_DEFAULT_PARAMS = {
1111
"lang": "en-US",

0 commit comments

Comments
 (0)