When I use DataReader() to fetch data from "famafrench":
import pandas as pd # 2.0.3
import pandas_datareader as pdr # 0.10.0
start_date = "1960-01-01"
end_date = "2021-12-31"
factors_ff_monthly_raw = pdr.DataReader(name="F-F_Research_Data_Factors", data_source="famafrench", start=start_date, end=end_date)[0]
Then I get the following warning:
FutureWarning: The argument 'date_parser' is deprecated and will be removed in a future version. Please use 'date_format' instead, or read your data in as 'object' dtype and then call 'to_datetime'
Any way to avoid this warning or does the pandas-datareader module need an update?
When I use
DataReader()to fetch data from"famafrench":Then I get the following warning:
Any way to avoid this warning or does the
pandas-datareadermodule need an update?