MAINT: fix FutureWarning and remove pandas_datareader#341
Merged
Conversation
11 tasks
mmcky
commented
Mar 12, 2025
Comment on lines
597
to
601
|
|
||
| ### Using {index}`pandas_datareader <single: pandas_datareader>` and {index}`yfinance <single: yfinance>` to Access Data | ||
|
|
||
| ```{index} single: Python; pandas-datareader | ||
| ``` | ||
| ### Using {index}`wbgapi <single: wbgapi>` and {index}`yfinance <single: yfinance>` to Access Data | ||
|
|
||
| The maker of pandas has also authored a library called | ||
| [pandas_datareader](https://pandas-datareader.readthedocs.io/en/latest/) that | ||
| gives programmatic access to many data sources straight from the Jupyter notebook. | ||
| The [wbgapi](https://pypi.org/project/wbgapi/) python library can be used to fetch data from the many databases published by the World Bank. | ||
|
|
||
| While some sources require an access key, many of the most important (e.g., FRED, [OECD](https://data.oecd.org/), [EUROSTAT](https://ec.europa.eu/eurostat/data/database) and the World Bank) are free to use. | ||
| ```{note} | ||
| You can find some useful information about the [wbgapi](https://pypi.org/project/wbgapi/) package in this [world bank blog post](https://blogs.worldbank.org/en/opendata/introducing-wbgapi-new-python-package-accessing-world-bank-data), in addition to this [tutorial](https://github.com/tgherzog/wbgapi/blob/master/examples/wbgapi-quickstart.ipynb) | ||
| ``` | ||
|
|
||
| We will also use [yfinance](https://pypi.org/project/yfinance/) to fetch data from Yahoo finance |
Contributor
Author
There was a problem hiding this comment.
@jstac sorry just merged this without a review.
The only thing that is review worthy is the changes from pandas_datareader to wbgapi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR
pandaspandas_datareaderand replaces withwbgapiaspandas_datareaderis not receiving updates.