-
-
Notifications
You must be signed in to change notification settings - Fork 113
Description
Example from https://hvplot.holoviz.org/en/docs/latest/
import duckdb
import hvplot.duckdb
from bokeh.sampledata.autompg import autompg_clean as df
df_duckdb = duckdb.from_df(df)
table = df_duckdb.groupby(['origin', 'mfr'])['mpg'].mean().sort_values().tail(5)
table.hvplot.barh('mfr', 'mpg', by='origin', stacked=True)Traceback (most recent call last):
File "/home/jovyan/repos/private/panel/script.py", line 6, in <module>
table = df_duckdb.groupby(['origin', 'mfr'])['mpg'].mean().sort_values().tail(5)
^^^^^^^^^^^^^^^^^
AttributeError: This relation does not contain a column by the name of 'groupby'duckdb==1.2.2
hvplot==0.11.2
Copilot
Metadata
Metadata
Labels
No labels