We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66e83cc commit 97ec062Copy full SHA for 97ec062
pandas/core/groupby/generic.py
@@ -1031,7 +1031,6 @@ def _cython_agg_blocks(
1031
data = data.get_numeric_data(copy=False)
1032
1033
agg_blocks: List["Block"] = []
1034
- deleted_items: List[np.ndarray] = []
1035
1036
no_result = object()
1037
@@ -1133,7 +1132,6 @@ def blk_func(block: "Block") -> List["Block"]:
1133
1132
# continue and exclude the block
1134
# NotImplementedError -> "ohlc" with wrong dtype
1135
skipped.append(i)
1136
- deleted_items.append(block.mgr_locs.as_array)
1137
else:
1138
agg_blocks.extend(nbs)
1139
0 commit comments