I have a 4D NumPy array (Importer, product, demand sector, and exporter) of a land footprint of trade data. I want to create a Dataframe where each variable will have a one-to-one relationship with others and at the end, there will be a value column. Each row will contain information like Argentine export of wheat consumed by households in Germany creates X amount of Land footprint.
In: FP_fd_Merc[0,:,:,CountryNo,:].shape
Out: (28, 4, 200, 7)