There are two options which create arrays:
x = numpy.array([[5, 5, 3, 2], [2, 1, 0, 9], [3, 7, 6, 0]])
y = numpy.array([(5, 5, 3, 2), (2, 1, 0, 9), (3, 7, 6, 0)])
But they have both same outputs.
[[5 5 3 2]
[2 1 0 9]
[3 7 6 0]]
They have both same type:
<class 'numpy.ndarray'>
Which one is better and what is the difference?