File tree 4 files changed +18
-4
lines changed
4 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 1
1
"""
2
- base components for groupby
2
+ Provide basic components for groupby. These defintiions
3
+ hold the whitelist of methods that are exposed on the
4
+ SeriesGroupBy and the DataFrameGroupBy objects.
3
5
"""
4
6
5
7
import types
Original file line number Diff line number Diff line change 1
1
"""
2
2
Define the SeriesGroupBy, DataFrameGroupBy, and PanelGroupBy
3
3
classes that hold the groupby interfaces (and some implementations).
4
+
4
5
These are user facing as the result of the ``df.groupby(...)`` operations,
5
6
which here returns a DataFrameGroupBy object.
6
7
"""
Original file line number Diff line number Diff line change
1
+ """
2
+ Provide the groupby split-apply-combine paradigm. Define the GroupBy
3
+ class providing the base-class of operations.
4
+
5
+ The SeriesGroupBy and DataFrameGroupBy sub-class
6
+ (defined in pandas.core.groupby.generic)
7
+ expose these user-facing objects to provide specific functionailty.
8
+ """
9
+
1
10
import types
2
11
from functools import wraps , partial
3
12
import datetime
Original file line number Diff line number Diff line change 1
1
"""
2
- Perform the groupby aggregate operations. These are not exposed
3
- to the user and provide implementations of the grouping
4
- operations. These are generally called via the *GroupBy objects.
2
+ Provide classe to perform the groupby aggregate operations.
3
+
4
+ These are not exposed to the user and provide implementations of the grouping
5
+ operations, primarily in cython. These classes (BaseGrouper and BinGrouper)
6
+ are contained *in* the SeriesGroupBy and DataFrameGroupBy objects.
5
7
"""
6
8
7
9
import copy
You can’t perform that action at this time.
0 commit comments