Imagine the ohlc data indexed in DateTime. I am going to resample this dataframe on every nth day of the month.
for example:
. . . 2020-09-24 1.0990 1.10