Dealing with dates in dataframe
You can likely use pandas.date_range as follows assuming your columns are called start and end:
import pandas as pd

df.apply(lambda x: pd.date_range(x[&quot;start&quot;], x[&quot;end&quot;]), axis=1)