diff options
author | Matti Picus <matti.picus@gmail.com> | 2020-09-03 21:09:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-03 21:09:44 +0300 |
commit | 99bcf99750d7da499bf3887e6acf89f025e0b9f2 (patch) | |
tree | 4ec2e6f43bfb1976343ddc62f44eb1163fa0f761 /doc/release | |
parent | f6752dbcb452aa35521e859e203558afd1d0ec13 (diff) | |
parent | c8eb9d47c5562c665cb45d91bedbf689e0edf3f0 (diff) | |
download | numpy-99bcf99750d7da499bf3887e6acf89f025e0b9f2.tar.gz |
Merge pull request #16134 from seberg/concatenate-dtype
ENH: Implement concatenate dtype and casting keyword arguments
Diffstat (limited to 'doc/release')
-rw-r--r-- | doc/release/upcoming_changes/16134.compatibility.rst | 8 | ||||
-rw-r--r-- | doc/release/upcoming_changes/16134.improvement.rst | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/doc/release/upcoming_changes/16134.compatibility.rst b/doc/release/upcoming_changes/16134.compatibility.rst new file mode 100644 index 000000000..373cecec0 --- /dev/null +++ b/doc/release/upcoming_changes/16134.compatibility.rst @@ -0,0 +1,8 @@ +Same kind casting in concatenate with ``axis=None`` +--------------------------------------------------- +When `~numpy.concatenate` is called with `axis=None`, +the flattened arrays were cast with ``unsafe``. Any other axis +choice uses "same kind". That different default +has been deprecated and "same kind" casting will be used +instead. The new ``casting`` keyword argument +can be used to retain the old behaviour. diff --git a/doc/release/upcoming_changes/16134.improvement.rst b/doc/release/upcoming_changes/16134.improvement.rst new file mode 100644 index 000000000..0699f44bd --- /dev/null +++ b/doc/release/upcoming_changes/16134.improvement.rst @@ -0,0 +1,6 @@ +Concatenate supports providing an output dtype +---------------------------------------------- +Support was added to `~numpy.concatenate` to provide +an output ``dtype`` and ``casting`` using keyword +arguments. The ``dtype`` argument cannot be provided +in conjunction with the ``out`` one. |