sturlamolden said:

That's what I wrote: "NumPy has a matrix type." It is called called

numpy.matrix.

I did not suggest using the array type numpy.array.

Reading carefully is indeed important...

I know what you wrote and you are strictly correct. I was just clarifying it

for a reader who may not have instantly realised that there were multiple

array types in numpy (I didn't for a while), and could have wasted many

hours and been discouraged.

Explaining clearly is indeed important.