We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 228e659 commit dee1220Copy full SHA for dee1220
pandas/io/formats/format.py
@@ -70,7 +70,6 @@
70
71
from pandas.io.common import stringify_path
72
from pandas.io.formats.printing import adjoin, justify, pprint_thing
73
-from pandas.core.groupby import DataFrameGroupBy, SeriesGroupBy
74
75
if TYPE_CHECKING:
76
from pandas import Categorical, DataFrame, Series
@@ -1993,7 +1992,7 @@ def buffer_put_lines(buf: IO[str], lines: List[str]) -> None:
1993
1992
buf.write("\n".join(lines))
1994
1995
1996
-def repr_html_groupby(group_obj: Union[DataFrameGroupBy, SeriesGroupBy]) -> str:
+def repr_html_groupby(group_obj) -> str:
1997
"""
1998
Create a HTML representation for a grouped dataframe or series.
1999
0 commit comments