pyaesthetics.utils.tablify_results

pyaesthetics.utils.tablify_results(results_dict)

This function converts a dictionary of results into a pandas DataFrame, where keys become column headers and values are the corresponding row data.

Parameters:

results_dict (dict) – A dictionary containing result data. Can include nested dictionaries.

Returns:

A pandas DataFrame with one row containing the values from the dictionary.

Return type:

pandas.DataFrame