What is the difference between Numpy’s array() and asarray() functions?

What is the difference between Numpy’s array() and asarray() functions? When should you use one rather than the other? They seem to generate identical output for all the inputs I can think of.

7 Answers
7

Leave a Comment