Skip to content

Commit 434c254

Browse files
committed
add dropna attribute to BaseGrouper
1 parent f34a56b commit 434c254

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/core/groupby/ops.py

+2
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ def __init__(
8787
group_keys: bool = True,
8888
mutated: bool = False,
8989
indexer: Optional[np.ndarray] = None,
90+
dropna: bool = True,
9091
):
9192
assert isinstance(axis, Index), axis
9293

@@ -97,6 +98,7 @@ def __init__(
9798
self.group_keys = group_keys
9899
self.mutated = mutated
99100
self.indexer = indexer
101+
self.dropna = dropna
100102

101103
@property
102104
def groupings(self) -> List["grouper.Grouping"]:

0 commit comments

Comments
 (0)