como converter matriz em vetor em python

 np.reshape(array, newshape"vector size")
Abdelrahman Osama