Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuang11 committed Sep 13, 2024
1 parent ebac847 commit 6abcb7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
3 changes: 2 additions & 1 deletion doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 3 additions & 11 deletions doc/user_guide/Integrations.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
":::"
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 6abcb7d

Please sign in to comment.