From 204ce413d4c00e448ef88441fdc88936f4c07688 Mon Sep 17 00:00:00 2001 From: Harsh Nisar Date: Sat, 27 Jun 2015 00:53:33 +0530 Subject: [PATCH] DOC: GH10414 Missing example in NA values in GroupBy --- doc/source/missing_data.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/source/missing_data.rst b/doc/source/missing_data.rst index 8ea28c6b686f5..5a350b4d9a1e7 100644 --- a/doc/source/missing_data.rst +++ b/doc/source/missing_data.rst @@ -174,7 +174,12 @@ NA values in GroupBy ~~~~~~~~~~~~~~~~~~~~ NA groups in GroupBy are automatically excluded. This behavior is consistent -with R, for example. +with R, for example: + +.. ipython:: python + + df + df.groupby('one').mean() See the groupby section :ref:`here ` for more information.