I have a DataFrame main_df with 10 datetime columns (d_0 ... d_9). For some rows I have less than 10 dates so I pad d0 .. d_X with
main_df
d_0 ... d_9
d0 .. d_X