[Bug] error/warning with 'date_parser' argument of `pandas.read_csv()` and Pandas version 2.0.0
lisphilar opened this issue · comments
Hirokazu Takaya commented
Checkbox
- I agree to follow code of conduct and to engage in discussion actively.
- I agree to create a new issue with the other templates if this is not a bug.
- I used the latest version of covsirphy.
Summary
Pandas version 2.0.0 removed date_parser
and added date_format
instead. We should use Pandas version >= 2.0.0 and date_format
argument. Refer to error on https://github.com/lisphilar/covid19-sir/actions/runs/4707362321/jobs/8349176036 and https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html
Reproducible example script
NA
The current outputs
No response
Expected outputs
No response
Environment
- CovsirPhy version: 3.0.0.dev12
- Python version: 3.11.1
Package manager (required if installation issue)
No response
Platform (required if installation issue)
No response
Additional Context
No response