Unable to populate pandas datafram in dash datable

dash.exceptions.InvalidCallbackReturnValue: The callback for property children of component output-data-upload2
returned a value which is not JSON serializable.

In general, Dash properties can only be dash components, strings,
dictionaries, numbers, None, or lists of those.

Hi @ianuvrat, try converting the dataframe to dictionaries before passing it to dash datatable since dash datatable does not accept dataframe as a data type.

data = df.to_dict('records')

See doc on DataTable for more