# Creating the dataframe df_names = pd.DataFrame(dict_names) df_names