I am trying to make a function to automatically create date dummies from a timestamp series in python.
In example if a have a dataframe which has a date column to be