Learn practical skills, build real-world projects, and advance your career
import numpy as np
a = np.array([7, 1, 5, 2, 3])
np.sort(a)
array([1, 2, 3, 5, 7])
a = np.array([7, 1, 5, 2, 3])
a.sort()
a
array([1, 2, 3, 5, 7])