File tree 1 file changed +0
-10
lines changed
1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -378,32 +378,22 @@ def __unicode__(self):
378
378
# TODO: Better unicode/repr for GroupBy object
379
379
return object .__repr__ (self )
380
380
381
- def _assure_grouper (self ):
382
- """
383
- We create the grouper on instantiation sub-classes may have a
384
- different policy.
385
- """
386
- pass
387
-
388
381
@property
389
382
def groups (self ):
390
383
"""
391
384
Dict {group name -> group labels}.
392
385
"""
393
- self ._assure_grouper ()
394
386
return self .grouper .groups
395
387
396
388
@property
397
389
def ngroups (self ):
398
- self ._assure_grouper ()
399
390
return self .grouper .ngroups
400
391
401
392
@property
402
393
def indices (self ):
403
394
"""
404
395
Dict {group name -> group indices}.
405
396
"""
406
- self ._assure_grouper ()
407
397
return self .grouper .indices
408
398
409
399
def _get_indices (self , names ):
You can’t perform that action at this time.
0 commit comments