From ed38c36725b0e4e045d33a4e3c4dd1ec2aa845a7 Mon Sep 17 00:00:00 2001 From: Eric Leung Date: Mon, 21 Dec 2020 18:50:04 -0800 Subject: [PATCH] DOC: capitalize NumPy as proper noun --- doc/source/user_guide/10min.rst | 4 ++-- doc/source/user_guide/cookbook.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/user_guide/10min.rst b/doc/source/user_guide/10min.rst index e37d4cc05c8c7..7629870a8de66 100644 --- a/doc/source/user_guide/10min.rst +++ b/doc/source/user_guide/10min.rst @@ -163,7 +163,7 @@ Selection .. note:: - While standard Python / Numpy expressions for selecting and setting are + While standard Python / NumPy expressions for selecting and setting are intuitive and come in handy for interactive work, for production code, we recommend the optimized pandas data access methods, ``.at``, ``.iat``, ``.loc`` and ``.iloc``. @@ -239,7 +239,7 @@ Select via the position of the passed integers: df.iloc[3] -By integer slices, acting similar to numpy/Python: +By integer slices, acting similar to NumPy/Python: .. ipython:: python diff --git a/doc/source/user_guide/cookbook.rst b/doc/source/user_guide/cookbook.rst index 5a6f56388dee5..92905836b763c 100644 --- a/doc/source/user_guide/cookbook.rst +++ b/doc/source/user_guide/cookbook.rst @@ -15,7 +15,7 @@ Simplified, condensed, new-user friendly, in-line examples have been inserted wh augment the Stack-Overflow and GitHub links. Many of the links contain expanded information, above what the in-line examples offer. -pandas (pd) and Numpy (np) are the only two abbreviated imported modules. The rest are kept +pandas (pd) and NumPy (np) are the only two abbreviated imported modules. The rest are kept explicitly imported for newer users. Idioms