@@ -1733,9 +1733,11 @@ class BaseGrouper(object):
1733
1733
axis : the axis to group
1734
1734
groupings : all the grouping instances to handle in this grouper
1735
1735
for example for grouper list to groupby, need to pass the list
1736
- sort : True/False
1736
+ sort : boolean, default True
1737
1737
whether this grouper will give sorted result or not
1738
- indexer: the indexer created by Grouper
1738
+ group_keys : boolean, default True
1739
+ mutated : boolean, default False
1740
+ indexer : the indexer created by Grouper
1739
1741
some grouper (TimeGrouper eg) will sort its axis and its
1740
1742
group_info is also sorted, so need the indexer to reorder
1741
1743
@@ -2296,18 +2298,15 @@ def generate_bins_generic(values, binner, closed):
2296
2298
class BinGrouper (BaseGrouper ):
2297
2299
2298
2300
"""
2299
- This is an internal Grouper class, which actually holds
2300
- the generated groups. In contrast with BaseGrouper,
2301
- BinGrouper get the sorted bins and binlabels to compute group_info
2301
+ This is an internal Grouper class
2302
2302
2303
2303
Parameters
2304
2304
----------
2305
2305
bins : the split index of binlabels to group the item of axis
2306
2306
binlabels : the label list
2307
- indexer: the indexer created by Grouper
2308
- some grouper (TimeGrouper eg) will sort its axis and the
2309
- group_info of BinGrouper is also sorted
2310
- can use the indexer to reorder as the unsorted axis
2307
+ filter_empty : boolean, default False
2308
+ mutated : boolean, default False
2309
+ indexer : a intp array
2311
2310
2312
2311
Examples
2313
2312
--------
0 commit comments