So erstellen Sie eine Matrix aus der Liste in Python

import numpy
matrix = numpy.matrix([1, 2, 3, 4])
CompSciGeek