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 <[email protected]> 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 -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ > Member address: [email protected] >
_______________________________________________ NumPy-Discussion mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: [email protected]
