dims_to_dataframe function

Create dataframe from dimensions