This is rather confusing to ask because I understand there are date ranges that create dates between two dates (which isn't what I want).
Instead, what I'm looking for is literally a start to an end. I plan on making a data frame with the index being in the format of YYYY-MM-DD - YYYY-MM-DD
.
So, the first row would have an index of 2000-01-01 - 2001-01-01
, the second row would have an index of 2000-01-02 - 2001-01-02
, the third row would have an index of 2000-01-03 - 2001-01-03
, etc. Is there any way to do do this (or something similar)? I was considering making a class that paired two datetime.date objects together, but I'm hesitant as I'm sure there's a more fleshed out manner of doing this.