I have two different dataframes.
One looks like:
Date StoreID MerchandiseType Count
04/01/2020 1 Hat 2
04/01/2020 1 Shirt 4
The other looks like:
Date StoreID Hat Shirt
04/01/2020 1 2 4
I would like to transform dataframe 2, so that it is structured like dataframe 1 and then union. Any suggestions?