Deprecation warning for date_parser
in Pandas read_csv
function.
#23
Labels
bug
Something isn't working
date_parser
in Pandas read_csv
function.
#23
I currently encounter a deprecation warning when using the
pd.read_csv
function withdate_parser
.this is supported by the Pandas documentation, which states:
this warning was obtained whilst running the following line of code:
simfin/simfin/load.py
Lines 154 to 155 in 413ec16
as per the warning and the supporting Pandas documentation, I'm recommending that we read data in as
object
dtype and then callpd.to_datetime()
to convert each of these columns fromobject
dtype todatetime64[ns]
dtype.I've submitted a pull request here.
ty
The text was updated successfully, but these errors were encountered: