diff --git a/doc/index.md b/doc/index.md index 81dcc772d..427bd81c2 100644 --- a/doc/index.md +++ b/doc/index.md @@ -123,7 +123,8 @@ import duckdb import hvplot.duckdb from bokeh.sampledata.autompg import autompg_clean as df -table = df.groupby(['origin', 'mfr'])['mpg'].mean().sort_values().tail(5) +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) ``` ```{image} ./_static/home/dask.gif diff --git a/doc/user_guide/Integrations.ipynb b/doc/user_guide/Integrations.ipynb index 65da69c16..76676d013 100644 --- a/doc/user_guide/Integrations.ipynb +++ b/doc/user_guide/Integrations.ipynb @@ -254,19 +254,13 @@ }, { "cell_type": "markdown", - "id": "a46e377e-729a-4f99-b5d3-83b0736cb8a3", + "id": "7474a792-2cfd-4139-a1cd-872f913fa07b", "metadata": {}, "source": [ ":::{note}\n", "Added in version `0.9.0`.\n", - ":::" - ] - }, - { - "cell_type": "markdown", - "id": "7474a792-2cfd-4139-a1cd-872f913fa07b", - "metadata": {}, - "source": [ + ":::\n", + "\n", ":::{important}\n", "While other data sources like `Pandas` or `Dask` have built-in support in HoloViews, as of version 1.17.1 this is not yet the case for `Polars`. You can track this [issue](https://github.com/holoviz/holoviews/issues/5939) to follow the evolution of this feature in HoloViews. Internally hvPlot simply selects the columns that contribute to the plot and casts them to a Pandas object using Polars' `.to_pandas()` method.\n", ":::" @@ -353,8 +347,6 @@ "outputs": [], "source": [ "import numpy as np\n", - "import hvplot.pandas # noqa\n", - "\n", "import pandas as pd\n", "\n", "df_pandas = pd.DataFrame(np.random.randn(1000, 4), columns=list('ABCD')).cumsum()\n",