File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -457,7 +457,7 @@ def _selected_obj(self):
457457 else :
458458 return self .obj [self ._selection ]
459459
460- def _clear_group_selection (self ):
460+ def _reset_group_selection (self ):
461461 """
462462 Clear group based selection. Used for methods needing to return info on
463463 each group regardless of whether a group selection was previously set.
@@ -1417,7 +1417,7 @@ def head(self, n=5):
14171417 0 1 2
14181418 2 5 6
14191419 """
1420- self ._clear_group_selection ()
1420+ self ._reset_group_selection ()
14211421 mask = self ._cumcount_array () < n
14221422 return self ._selected_obj [mask ]
14231423
@@ -1444,7 +1444,7 @@ def tail(self, n=5):
14441444 0 a 1
14451445 2 b 1
14461446 """
1447- self ._clear_group_selection ()
1447+ self ._reset_group_selection ()
14481448 mask = self ._cumcount_array (ascending = False ) < n
14491449 return self ._selected_obj [mask ]
14501450
You can’t perform that action at this time.
0 commit comments