In time-series data analysis, generating dates could be necessary on many occasions in real life. Sometimes we have data but time is not recorded, sometimes we may have to use one countries data for another country’s research or last year’s data this year. The holidays will be different this year than last or this country than another country. This article shows:
a. how to use the in-built holiday calendar.
b. generate a custom holiday calendar.
c. incorporate a series of dates in a dataset.
#machine-learning #technology #artificial-intelligence #programming #data-science #how to generate time series considering holidays of any country in pandas