From 110e93adf8dd7c5f2b83ccb0c4e5307cf46969f6 Mon Sep 17 00:00:00 2001 From: Doug Branton Date: Thu, 17 Oct 2024 13:27:34 -0700 Subject: [PATCH 1/2] add unique name in html repr --- src/nested_dask/core.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/nested_dask/core.py b/src/nested_dask/core.py index 8462662..e14a1e0 100644 --- a/src/nested_dask/core.py +++ b/src/nested_dask/core.py @@ -121,6 +121,11 @@ def __setitem__(self, key, value): return super().__setitem__(key, value) + def _repr_html_(self): + # following dask-geopandas lead + output = super()._repr_html_() + return output.replace("Dask DataFrame Structure", "Nested-Dask NestedFrame Structure") + @classmethod def from_pandas( cls, From 457d9d03ebea0c9f188a389758e10857a2179b7e Mon Sep 17 00:00:00 2001 From: Doug Branton Date: Thu, 17 Oct 2024 13:34:33 -0700 Subject: [PATCH 2/2] pin lsdb in tutorial --- docs/tutorials/work_with_lsdb.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorials/work_with_lsdb.ipynb b/docs/tutorials/work_with_lsdb.ipynb index c3fed88..77369fd 100644 --- a/docs/tutorials/work_with_lsdb.ipynb +++ b/docs/tutorials/work_with_lsdb.ipynb @@ -42,7 +42,7 @@ "# %pip install nested-dask\n", "\n", "# Comment the following line to skip dependencies installation\n", - "%pip install --quiet lsdb aiohttp light-curve matplotlib" + "%pip install --quiet lsdb==0.3.0 aiohttp light-curve matplotlib" ] }, { @@ -439,7 +439,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython2", - "version": "3.10.11" + "version": "3.10.14" } }, "nbformat": 4,