dash-sunburst icon indicating copy to clipboard operation
dash-sunburst copied to clipboard

Value of 'values' is not the name of a column in 'data_frame'. Expected one of [0] but received column name

Open nagarajmmu opened this issue 3 years ago • 0 comments

Hi

I am working in Dash app, I am rendering express sunburst chart, with "pyspark.pandas" dataframe, but I am getting below error in dash. ERROR : Value of 'values' is not the name of a column in 'data_frame'. Expected one of [0] but received: column_3

I have provided data in sunburst chart as below: px.sunburst(pdf, path=["column_1", "column_2"], values="column_3")

Here column_3 is a integer.

Please help me, how can I resolve this issue.

Thanks Nagaraja M M

nagarajmmu avatar Aug 09 '22 23:08 nagarajmmu