Skip to content

Commit cbb2673

Browse files
Merge pull request #10450 from harshnisar/GH10414-DOC-missing-example
DOC: GH10414 Missing example in NA values in GroupBy
2 parents 6cb762f + 204ce41 commit cbb2673

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

doc/source/missing_data.rst

+6-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,12 @@ NA values in GroupBy
174174
~~~~~~~~~~~~~~~~~~~~
175175

176176
NA groups in GroupBy are automatically excluded. This behavior is consistent
177-
with R, for example.
177+
with R, for example:
178+
179+
.. ipython:: python
180+
181+
df
182+
df.groupby('one').mean()
178183
179184
See the groupby section :ref:`here <groupby.missing>` for more information.
180185

0 commit comments

Comments
 (0)