diff options
author | sorenrasmussenai <47032123+sorenrasmussenai@users.noreply.github.com> | 2019-06-04 06:39:08 +0200 |
---|---|---|
committer | Matti Picus <matti.picus@gmail.com> | 2019-06-04 07:39:08 +0300 |
commit | afc69816fd2aedf513d4f4e497f28d68e0b2b3d5 (patch) | |
tree | 0da5e8a4758563c28939e2e10189df41e316de9d /doc/release | |
parent | 40ada70d9efc903097b2ff3f968c23a7e2f14296 (diff) | |
download | numpy-afc69816fd2aedf513d4f4e497f28d68e0b2b3d5.tar.gz |
ENH: pathlib support for fromfile(), .tofile() and .dump() (#12915)
* ENH: pathlib support for fromfile(), .tofile() and .dump()
Diffstat (limited to 'doc/release')
-rw-r--r-- | doc/release/1.17.0-notes.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/release/1.17.0-notes.rst b/doc/release/1.17.0-notes.rst index 4ec086e77..1fa6fb9d6 100644 --- a/doc/release/1.17.0-notes.rst +++ b/doc/release/1.17.0-notes.rst @@ -328,6 +328,11 @@ concatenation. In some cases where ``np.interp`` would previously return ``np.nan``, it now returns an appropriate infinity. +Pathlib support for ``np.fromfile``, ``ndarray.tofile`` and ``ndarray.dump`` +---------------------------------------------------------------------------- +``np.fromfile``, ``np.ndarray.tofile`` and ``np.ndarray.dump`` now support +the `pathlib.Path` type for the ``file``/``fid`` parameter. + Specialized ``np.isnan``, ``np.isinf``, and ``np.isfinite`` ufuncs for bool and int types ----------------------------------------------------------------------------------------- The boolean and integer types are incapable of storing ``np.nan`` and |