File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ class providing the base-class of operations.
2929 Literal ,
3030 Self ,
3131 TypeAlias ,
32- TypeVar ,
3332 Union ,
3433 cast ,
3534 final ,
@@ -969,10 +968,6 @@ def __iter__(self) -> Iterator[tuple[Hashable, NDFrameT]]:
969968 return result
970969
971970
972- # To track operations that expand dimensions, like ohlc
973- OutputFrameOrSeries = TypeVar ("OutputFrameOrSeries" , bound = NDFrame )
974-
975-
976971class GroupBy (BaseGroupBy [NDFrameT ]):
977972 """
978973 Class for grouping and aggregating relational data.
@@ -1194,9 +1189,7 @@ def _concat_objects(
11941189 return result .__finalize__ (self .obj , method = "groupby" )
11951190
11961191 @final
1197- def _set_result_index_ordered (
1198- self , result : OutputFrameOrSeries
1199- ) -> OutputFrameOrSeries :
1192+ def _set_result_index_ordered (self , result : NDFrameT ) -> NDFrameT :
12001193 # set the result index on the passed values object and
12011194 # return the new object, xref 8046
12021195
You can’t perform that action at this time.
0 commit comments