Ticket #73 (closed defect: invalid)
numpy arrays ...
|Reported by:||lal.george@…||Owned by:||xi|
What is the best way to transfer very large numpy arrays using PyYAML?
Ideally I would like to do something like:
m = ; # a very large numpy array
y = "---\nx : '%s'\n" % (m.dumps())
z = yaml.load(y)
However, the yaml.load returns an exception:
'utf8 codec can't decode byte #x80: unexpected code byte in "<string>", position 9.
Since I have quoted the string, yaml should not be diving into it - correct?