Given two dates, for example:
December 1, 2017
June 1, 2018
I want to get this result:
January 1, 2018
February 1, 2018
March 1, 2018
April 1, 2018
May 1, 2018
June 1, 2018
Moreover, I also want to modify the intervals. In the case above, the interval is monthly. I also want it to become quarterly and semi-annually.
So, given December 1, 2017
and June 1, 2018
, it will generate March 1, 2018
for semi-annual and so on...
I also want it inclusive which means that the end date should also be included
Is there a python package or function for this?