dayofyear is not great when going into a new year

Martin Schöön martin.schoon at gmail.com
Tue Jan 5 15:55:10 EST 2021


Hello,

I have had some Python fun with COVID-19 data. I have done
some curve fitting and to make that easier I have transformed
date to day of year. Come end of 2020 and beginning of 2021
and this idea falls on its face.

There must be a better way of doing this.

I am using Pandas for reading and manipulating data coming
from a csv file. Scipy, numpy and matplotlib are used
for the curve fitting and plotting.

TIA,

/Martin


More information about the Python-list mailing list