I have an ndarray that looks like this:
In [1]: a
Out [1]: array(['x','y'], dtype=object)
Now I wanted to append a "z" to the end of it:
In [2]: print([a,'z'])
[array(['x','y'],dtype=object), 'z']
Instead, what I want is:
['x','y','z']
Any idea?