Trouble using numpy.load Trouble using numpy.load numpy numpy

Trouble using numpy.load


The default encoding in Python 2 is ascii; in Python 3 it is utf-8. latin1 (a.k.a., ISO-8859-1) is a superset of ascii. That's why loading ascii-encoded strings with latin1 works and gives the same result as loading it with ascii.