summaryrefslogtreecommitdiff
path: root/doc/release
diff options
context:
space:
mode:
authorfivemok <9394929+fivemok@users.noreply.github.com>2019-06-01 15:45:19 -0400
committerMatti Picus <matti.picus@gmail.com>2019-06-01 22:45:19 +0300
commit80ef0e7e30f6837db5fde499ca46a26a944e3c50 (patch)
treedb440e398b73f1a4839edeb6742263a17b77007c /doc/release
parent392866d1c8dce0abb8cb327a42f8e134f5d2a05e (diff)
downloadnumpy-80ef0e7e30f6837db5fde499ca46a26a944e3c50.tar.gz
ENH: Add 'offset' keyword to 'numpy.fromfile()' (#12971)
* ENH: add offset keyword arg to numpy.fromfile()
Diffstat (limited to 'doc/release')
-rw-r--r--doc/release/1.17.0-notes.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/release/1.17.0-notes.rst b/doc/release/1.17.0-notes.rst
index 3194867f9..de633d778 100644
--- a/doc/release/1.17.0-notes.rst
+++ b/doc/release/1.17.0-notes.rst
@@ -205,12 +205,17 @@ divmod operation is now supported for two ``timedelta64`` operands
The divmod operator now handles two ``np.timedelta64`` operands, with
type signature mm->qm.
+``np.fromfile`` now takes an ``offset`` argument
+------------------------------------------------
+This function now takes an ``offset`` keyword argument for binary files,
+which specifics the offset (in bytes) from the file's current position.
+Defaults to 0.
+
New mode "empty" for ``np.pad``
-------------------------------
This mode pads an array to a desired shape without initializing the new
entries.
-
``np.empty_like`` and related functions now accept a ``shape`` argument
-----------------------------------------------------------------------
``np.empty_like``, ``np.full_like``, ``np.ones_like`` and ``np.zeros_like`` now