You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems the cause is that holoviews wraps DataFrame columns in Dimension, and the code which throws the warning strictly checks against str, and doesn't handle Dimension columns.
I have this env variable set: PYTHONWARNINGS=default. Due to it I often see deprecation warnings in various projects. Maybe it would be a good idea if at least some holoviz devs would also enable it on their dev machines.
Thanks @2-5, for the PYTHONWARNINGS=default trick and for reporting this issue, we have indeed missed the Dimension case in the warning that is emitted, this is going to be fixed in the next release of HoloViews.
ALL software version info
python-3.10.4
holoviews-1.15.1
hvplot-0.8.1
panel-0.14.0
pandas-1.5.0
VS Code 1.72.1
Jupyter Extension v2022.9.1202862440
Windows 10
Description of expected behavior and the observed behavior
A
DeprecationWarning
is raised, but it seems it should not:Complete, minimal, self-contained example code that reproduces the issue
Screenshots or screencasts of the bug in action
The text was updated successfully, but these errors were encountered: