Array Reshaping

Premium

Learn how to change the shape of a NumPy array using reshape() and convert it back to 1D with flatten().