ArtesiaWater / hydropandas

Module for loading observation data into custom DataFrames
https://hydropandas.readthedocs.io
MIT License
52 stars 10 forks source link

Create `_repr_html_` for Obs and ObsCollection classes #126

Closed OnnoEbbens closed 8 months ago

OnnoEbbens commented 1 year ago

For nice views in iPython

martinvonk commented 1 year ago

Some time ago I tried to make a start with pastas on this using the xarray format. I found it hard because I don't know any html/css. However I think it is worth it since the result can be quite nice. https://github.com/pastas/pastas/tree/html_repr

OnnoEbbens commented 8 months ago

A _reprhtml was added for the Obs classes. I don't think one is needed for the ObsCollection class because the inherited pandas DataFrame _reprhtml is good enough for that.