I have a Pandas DataFrame that gives me the number of transactions aggregated by date.
df['Date'] = [01.01.2022, 02.01.2022., 03.01.2022]
df['Transactions'] = [30, 28, 37]
How can I deaggregate it into a dataframe that will have 30 times the 01.01.2022, 28 times the 02.01.2022 and so on and only a 1 in the number of the transaction?