Skip to content

Commit 9bbc811

Browse files
committed
Add comment
1 parent bcd4944 commit 9bbc811

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/core/groupby/ops.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,7 @@ def indices(self) -> dict[Hashable, npt.NDArray[np.intp]]:
663663
np.nan if isna(key) else key: value for key, value in result.items()
664664
}
665665
else:
666+
# MultiIndex has no efficient way to tell if there are NAs
666667
result = {
667668
tuple(np.nan if isna(comp) else comp for comp in key): value
668669
for key, value in result.items()

0 commit comments

Comments
 (0)