What is the difference between np.array() and np.asarray()?

What is the difference between NumPy's np.array and np.asarray? When should I use one rather than the other? They seem to generate identical output.

← Назад к списку