diff options
author | Michail Gaganis <92457943+Mike-gag@users.noreply.github.com> | 2023-03-19 21:26:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-19 12:26:17 -0700 |
commit | ee12ff3228d0d800dc25004bc57c78814a48df47 (patch) | |
tree | 2781f31323ad15a99757cbc8d4714258ff0362ea | |
parent | fb8d43f9c2742347edc91b1207be0a4e2af5c2ff (diff) | |
download | numpy-ee12ff3228d0d800dc25004bc57c78814a48df47.tar.gz |
DOC: Update wording related to recommended np alias (#23424)
Co-authored-by: Mike-gag <gaganis.michail@gmail.com>
-rw-r--r-- | doc/source/user/absolute_beginners.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/user/absolute_beginners.rst b/doc/source/user/absolute_beginners.rst index dae2c4f06..dfcdc669b 100644 --- a/doc/source/user/absolute_beginners.rst +++ b/doc/source/user/absolute_beginners.rst @@ -64,8 +64,8 @@ To access NumPy and its functions import it in your Python code like this:: import numpy as np We shorten the imported name to ``np`` for better readability of code using -NumPy. This is a widely adopted convention that you should follow so that -anyone working with your code can easily understand it. +NumPy. This is a widely adopted convention that makes your code more readable +for everyone working on it. We recommend to always use import numpy as ``np``. Reading the example code ------------------------ |