Skip to content

Commit 204ce41

Browse files
committed
DOC: GH10414 Missing example in NA values in GroupBy
1 parent c97238c commit 204ce41

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

doc/source/missing_data.rst

Lines changed: 6 additions & 1 deletion
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)