Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plotly.express + pandas 2.0 --> Encountered DataFrame object has no attribute 'append' error when using px.line_polar() #4191

Closed
tiguere opened this issue May 5, 2023 · 1 comment

Comments

@tiguere
Copy link

tiguere commented May 5, 2023

Encountered error when using px.line_polar() as follows:

fig = px.line_polar(dataframe,
                            r=metric,
                            theta=axis,
                            color=legend,
                            hover_name=legend,
                            hover_data=hover_data,
                            line_close=True)
fig.show()

Pandas 2.0 throws " DataFrame object has no attribute 'append' " error

Had to install pandas <= 2.0.0 to circumvent, which logs the following:

/usr/local/lib/python3.9/site-packages/plotly/express/_core.py:271: FutureWarning:
plotly_dash_app          | 
plotly_dash_app          | The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.

Can provide any additional information on request

@alexcjohnson
Copy link
Collaborator

Fixed already by #4190, we expect to release this next week. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants