Let\'s say I have a dataframe, where indexes are the same:
index date1 date2 date3 A 1 NaN NaN A NaN 3 NaN B 1 NaN NaN A NaN