Pandas Datareader pulls macroeconomic, policy, and factor-style series from public Internet sources into pandas DataFrames for analysis workflows.
Overview
Pandas Datareader is a Python library focused on downloading structured data from remote sources and loading it directly into pandas DataFrames. It is oriented toward macroeconomic, policy, and quantitative finance style datasets rather than generic web scraping.
The public API connects to named providers such as FRED, Fama-French factor data, the Bank of Canada, the World Bank, OECD, and Eurostat, along with a macro-oriented interface in the package. Documentation describes stable and development builds and notes compatibility across multiple pandas versions.
Installation is via pip. Runtime dependencies include pandas, lxml, and requests. Optional tooling supports query caching in documentation builds. Typical use is a single function call that returns a time series or table ready for further pandas analysis.
The library fits analysts and researchers who already work in pandas and want a consistent way to fetch authoritative public economic and market-related series without maintaining separate download scripts per provider.
Key features
- FRED data access
- Fama-French factor series
- World Bank and OECD readers
- Eurostat integration
- Bank of Canada sources
- Macro datareader interface
- pandas DataFrame output
- Optional query caching
Use cases
- Macroeconomic research in pandas
- Factor model data collection
- Policy and central bank statistics
- Cross-country indicator comparison
- Yield and rate series analysis