From 940b57c3f41e11a7d599bd7930d2c507dd03f2d4 Mon Sep 17 00:00:00 2001 From: Micael Jarniac Date: Wed, 4 Nov 2020 11:39:06 -0300 Subject: [PATCH] DOC: Fix typo I'm not entirely sure about this one, but "If an ndarray is passed, the values are used as-is determine the groups." does sound odd to me, so I do believe it was missing the "to". --- pandas/core/shared_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/shared_docs.py b/pandas/core/shared_docs.py index 38e36c8ff8d01..c9940c78b8d7d 100644 --- a/pandas/core/shared_docs.py +++ b/pandas/core/shared_docs.py @@ -91,7 +91,7 @@ index. If a dict or Series is passed, the Series or dict VALUES will be used to determine the groups (the Series' values are first aligned; see ``.align()`` method). If an ndarray is passed, the - values are used as-is determine the groups. A label or list of + values are used as-is to determine the groups. A label or list of labels may be passed to group by the columns in ``self``. Notice that a tuple is interpreted as a (single) key. axis : {0 or 'index', 1 or 'columns'}, default 0