I have a problem with print array with unicode
sample_data.csv:
Петр
Андрей
Here is the code:
data = np.genfromtxt('sample_data.csv', delimiter=";")
print data
>>> ['\xd0\x9f\xd0\xb5\xd1\x82\xd1\x80', '\xd0\x90\xd0\xbd\xd0\xb4\xd1\x80\xd0\xb5\xd0\xb9']
But print only string show me this.
print data[0]
>>> Петр
How I can print array with correct strings?