how to make dataframe from indexed dictionary