Skip to content

Commit

Permalink
add unique name in html repr
Browse files Browse the repository at this point in the history
  • Loading branch information
dougbrn committed Oct 17, 2024
1 parent c8a18dd commit 110e93a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/nested_dask/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 110e93a

Please sign in to comment.