Category : exploratory-data-analysis

st_con_vt=data[[‘STATE’,’CONSTITUENCY’,’TOTAL_ELECTORS’]] fig = px.sunburst(st_con_vt, path=[‘STATE’,’CONSTITUENCY’], values=’TOTAL ELECTORS’, color=’TOTAL ELECTORS’, color_continuous_scale=’viridis_r’) fig.update_layout(title_text=’Sunburst Image of State and Constituency by Voters’,template=’plotly_dark’) fig.show()st_con_vt=data[[‘STATE’,’CONSTITUENCY’,’TOTAL_ELECTORS’]] fig = px.sunburst(st_con_vt, path=[‘STATE’,’CONSTITUENCY’], values=’TOTAL ELECTORS’, color=’TOTAL ELECTORS’, color_continuous_scale=’viridis_r’) fig.update_layout(title_text=’Sunburst Image of State and Constituency by Voters’,template=’plotly_dark’) fig.show() #got an error like this- sunburst() got an unexpected keyword argument ‘path’ Source: Python..

Read more

I am using the seaborn library in Python to create different visualizations. My variables/columns are all string/categorical. Let’s say I have a Pandas dataframe called feedback. Some of the columns in the dataframe are Feedback topic Feedback date Feedback month 4.Conclusion type Agent submitted Agent State etc. My question is while performing EDA, I wanted ..

Read more