vector.__str__() method is called through print(vector). We can print the numpy array directly.
vector.__str__()
print(vector)