Skip to content

Commit dee1220

Browse files
committed
Remove pandas type annotations
because of circular import https://github.com/pandas-dev/pandas/pull/34926/checks
1 parent 228e659 commit dee1220

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/io/formats/format.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070

7171
from pandas.io.common import stringify_path
7272
from pandas.io.formats.printing import adjoin, justify, pprint_thing
73-
from pandas.core.groupby import DataFrameGroupBy, SeriesGroupBy
7473

7574
if TYPE_CHECKING:
7675
from pandas import Categorical, DataFrame, Series
@@ -1993,7 +1992,7 @@ def buffer_put_lines(buf: IO[str], lines: List[str]) -> None:
19931992
buf.write("\n".join(lines))
19941993

19951994

1996-
def repr_html_groupby(group_obj: Union[DataFrameGroupBy, SeriesGroupBy]) -> str:
1995+
def repr_html_groupby(group_obj) -> str:
19971996
"""
19981997
Create a HTML representation for a grouped dataframe or series.
19991998

0 commit comments

Comments
 (0)