#4808 -- let np.pad default to constant
In PR 4808, I propose changing the default padding mode (for `np.pad`) to constant (0). It was suggested that I mention the change here, in case someone has a use case or argument for not making it. https://github.com/numpy/numpy/pull/4808 Thanks! Stéfan
On 3/13/19, Stefan van der Walt <stefanv@berkeley.edu> wrote:
In PR 4808, I propose changing the default padding mode (for `np.pad`) to constant (0).
+1 Warren
It was suggested that I mention the change here, in case someone has a use case or argument for not making it.
https://github.com/numpy/numpy/pull/4808
Thanks! Stéfan _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion
As a user, I think this is a good change. On Wed, Mar 13, 2019 at 2:05 PM Warren Weckesser <warren.weckesser@gmail.com> wrote:
On 3/13/19, Stefan van der Walt <stefanv@berkeley.edu> wrote:
In PR 4808, I propose changing the default padding mode (for `np.pad`) to constant (0).
+1
Warren
It was suggested that I mention the change here, in case someone has a use case or argument for not making it.
https://github.com/numpy/numpy/pull/4808
Thanks! Stéfan _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion
participants (3)
-
Paul Hobson
-
Stefan van der Walt
-
Warren Weckesser