Ich versuche, ein numpy.ndarray in einen String umzuwandeln. Das habe ich bereits so gemacht:
Code: Select all
randomArray.tostring()
Wie mache ich das am besten?
Ich verwende numpy 1.8.1
Kontext:
Das Ziel besteht darin, das zu senden numpy.ndarray als Nachricht in Rabbitmq (Pika-Bibliothek)
Mobile version