Subclasses of a polars data frame (any UptakeData, e.g.) will revert to regular polars data frame after a polars operation (e.g. filter, with_columns, rename, etc.). We can make versions of these polars functions that return the subclass they were given, or we can coerce polars data frames into subclasses more frequently (i.e. UptakeData(df)). Choose a strategy and be consistent.
Subclasses of a polars data frame (any UptakeData, e.g.) will revert to regular polars data frame after a polars operation (e.g. filter, with_columns, rename, etc.). We can make versions of these polars functions that return the subclass they were given, or we can coerce polars data frames into subclasses more frequently (i.e. UptakeData(df)). Choose a strategy and be consistent.