File tree 1 file changed +3
-3
lines changed
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):
457
457
else :
458
458
return self .obj [self ._selection ]
459
459
460
- def _clear_group_selection (self ):
460
+ def _reset_group_selection (self ):
461
461
"""
462
462
Clear group based selection. Used for methods needing to return info on
463
463
each group regardless of whether a group selection was previously set.
@@ -1417,7 +1417,7 @@ def head(self, n=5):
1417
1417
0 1 2
1418
1418
2 5 6
1419
1419
"""
1420
- self ._clear_group_selection ()
1420
+ self ._reset_group_selection ()
1421
1421
mask = self ._cumcount_array () < n
1422
1422
return self ._selected_obj [mask ]
1423
1423
@@ -1444,7 +1444,7 @@ def tail(self, n=5):
1444
1444
0 a 1
1445
1445
2 b 1
1446
1446
"""
1447
- self ._clear_group_selection ()
1447
+ self ._reset_group_selection ()
1448
1448
mask = self ._cumcount_array (ascending = False ) < n
1449
1449
return self ._selected_obj [mask ]
1450
1450
You can’t perform that action at this time.
0 commit comments