I am unable to wrap my head around it. Why would we make a zero array which is empty. It can be done by a normal np.array
On Wed, Jun 5, 2024, 12:31 AM Carlos Martin <cgmar...@andrew.cmu.edu> wrote: > Suggestion: Add the following default arguments to the following functions: > > - https://numpy.org/doc/stable/reference/generated/numpy.zeros.html: > shape=() > - https://numpy.org/doc/stable/reference/generated/numpy.ones.html: > shape=() > - https://numpy.org/doc/stable/reference/generated/numpy.empty.html: > shape=() > - https://numpy.org/doc/stable/reference/generated/numpy.heaviside.html: > x2=0.5 > > Feel free to add more examples. > _______________________________________________ > NumPy-Discussion mailing list -- numpy-discussion@python.org > To unsubscribe send an email to numpy-discussion-le...@python.org > https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ > Member address: rakshitsingh...@gmail.com >
_______________________________________________ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: arch...@mail-archive.com