Suppose I have the following data:
import pandas as pd import numpy as np import datetime as dt idx = pd.date_range("2010/01/01", "2020/01/01&