Skip to content

Commit

Permalink
handle dataframegroupby
Browse files Browse the repository at this point in the history
  • Loading branch information
hussain-jafari committed Dec 11, 2024
1 parent c77bc8f commit c81533d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vivarium/framework/results/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
ResultsFormatter = Callable[[str, pd.DataFrame], pd.DataFrame]
"""This is a Callable that takes a measure as a string and a DataFrame of observation results and returns formatted results."""
ResultsGathererInput = Union[
pd.DataFrame, DataFrameGroupBy[tuple[str, ...] | str, bool], tuple[str, ...], None
pd.DataFrame, DataFrameGroupBy, tuple[str, ...], None # type: ignore [type-arg]
]
ResultsGatherer = Callable[[ResultsGathererInput], pd.DataFrame]
"""This is a Callable that optionally takes a possibly stratified population and returns new observation results."""
Expand Down

0 comments on commit c81533d

Please sign in to comment.