I create the following:
a=np.eye(2, dtype='S17')
But when I print it I get:
print(a)
[[b'1' b'']
[b'' b'1']]
Why does it happen and what I can do to just get the strings without b? Or should I change the way of introducing the data or the dtype
?
The desired output would be:
[['1' '']
['' '1']]
So that I can replace this strings by others