diff options
| author | jcwchen <jacky82226@gmail.com> | 2023-04-19 14:11:33 -0700 |
|---|---|---|
| committer | jcwchen <jacky82226@gmail.com> | 2023-04-19 14:11:33 -0700 |
| commit | 315e9f057dc419d8942885dda4d7e45410d86545 (patch) | |
| tree | f9e06ec0ea025e747019c95f564df335c4978762 /doc/source/release | |
| parent | 13a5c4e569269aa4da6784e2ba83107b53f73bc9 (diff) | |
| download | numpy-315e9f057dc419d8942885dda4d7e45410d86545.tar.gz | |
Use correct fill_value instead of value for np.full in release 1.24.0 note
Signed-off-by: jcwchen <jacky82226@gmail.com>
Diffstat (limited to 'doc/source/release')
| -rw-r--r-- | doc/source/release/1.24.0-notes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/release/1.24.0-notes.rst b/doc/source/release/1.24.0-notes.rst index bcccd8c57..1c9e719b3 100644 --- a/doc/source/release/1.24.0-notes.rst +++ b/doc/source/release/1.24.0-notes.rst @@ -389,7 +389,7 @@ Users can modify the behavior of these warnings using ``np.errstate``. Note that for float to int casts, the exact warnings that are given may be platform dependent. For example:: - arr = np.full(100, value=1000, dtype=np.float64) + arr = np.full(100, fill_value=1000, dtype=np.float64) arr.astype(np.int8) May give a result equivalent to (the intermediate cast means no warning is |
