How to normalize an array in NumPy in Python
Feb 23, 2021 · In this article, we are going to discuss how to normalize 1D and 2D arrays in Python using NumPy. Normalization refers to scaling values of an array to the desired range. Normalization of 1D-Array. Suppose, we have an array = [1,2,3] and to normalize it in range [0,1] means that it will convert array [1,2,3] to [0, 0.5, 1] as 1, 2 and 3 are equidistant.
DA: 37 PA: 55 MOZ Rank: 62