Is it possible to convert a series of dates in a column into a numeric index using pd.to_datetime? After that put it into a variable so I can print the value in a single variable.
default_date = ''
print(f'value of default_date' : {default_date}')
For example: 2021-07-01 to 0 2021-07-02 to 1