diff options
author | shreepads <shreepads@gmail.com> | 2020-04-22 15:16:30 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-22 05:46:30 -0400 |
commit | 630f094b99afa8c693652066a3fb8918b9f3e142 (patch) | |
tree | 922da49294172d34906812968be469e1e91bb973 /numpy/lib/nanfunctions.py | |
parent | b57c5349442d11f7f72aacec299e2c6740ec0a32 (diff) | |
download | numpy-630f094b99afa8c693652066a3fb8918b9f3e142.tar.gz |
DOC: initialise random number generator before first use in quickstart (#16025)
* DOC: make random generator initialisation visible at the first point of use in the quickstart
The random generator in the quickstart is initialised in a hidden test setup
section at the start. This should be made visible at the first point of use
so that new users don't get tripped up trying to set it up. Note that rg is
also visibly initialised lower down in the Histogram section.
Also moved another inline comment in the same example to ensure they
are aligned as per the format used in the quickstart.
Diffstat (limited to 'numpy/lib/nanfunctions.py')
0 files changed, 0 insertions, 0 deletions