
Jan. 11, 2019
8:58 a.m.
On Fri, 2019-01-11 at 13:57 +1100, Juan Nunez-Iglesias wrote:
On 10 Jan 2019, at 6:35 pm, Todd <toddrjen@gmail.com> wrote:
Could this approach be used to deprecate `ravel` and let us just use `flatten`?
Could we not? `.ravel()` is everywhere and it matches `ravel_multi_index` and `unravel_index`.
True, I suppose either of those functions could get such an argument as well. Just side note `arr.ravel()` is also not quite equivalent to `arr.reshape(-1)`, since it actually provides some additional assurances on the result contiguity. - Sebastian
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion