Question: Suppose you have a variale named `vector` of type np.array with 10,000 elements. How can you turn `vector` into a variable named `matrix` with dimensions 100x100?
- `matrix = (vector.shape = (100,100))`
- `matrix = vector.to_matrix(100,100)`
- `matrix = matrix(vector,100,100)`
- `matrix = vector.reshape(100, 100)`
Answer: The correct answer of the above question is Option D:`matrix = vector.reshape(100, 100)`