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

panel/widgets/tables.py:790: SettingWithCopyWarning: #4406

Closed
MarcSkovMadsen opened this issue Feb 5, 2023 · 0 comments · Fixed by #4623
Closed

panel/widgets/tables.py:790: SettingWithCopyWarning: #4406

MarcSkovMadsen opened this issue Feb 5, 2023 · 0 comments · Fixed by #4623
Milestone

Comments

@MarcSkovMadsen
Copy link
Collaborator

Panelite=0.14.3

I'm trying the notebook reference/widgets/Tabulator.ipynb. In the Patching section I get the SettingWithCopyWarning.

image

/lib/python3.10/site-packages/panel/widgets/tables.py:790: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  self.value.loc[ind, k] = value
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

Successfully merging a pull request may close this issue.

2 participants