Output a dictionary in Python Snippet

Hi I am new to knime. I wanted the python snippet to give output as dictionary instead of dataframe. But when I return output_table as dictionary I get error as :

ERROR Python Script (2⇒1) 0:7 Execute failed: Expected pandas.DataFrame, got: <class ‘dict’>

Please make sure your output_table is a pandas.DataFrame.

Is there any way I can return a dictionary or does any node exists which is applicable in my scenario.

Thanks