0

Is there a way to save numpy arrays (ideally in compressed form) into a MySQL database with pymysql? I understand how to save numbers and strings, but how do query strings work with byte objects? Thanks!

deven
  • 1
  • 2
    Does this answer your question? [store numpy array in mysql](https://stackoverflow.com/questions/30713062/store-numpy-array-in-mysql) – Yevhen Kuzmovych Jan 20 '21 at 15:45
  • Thanks but I'm not sure! I can convert the numpy array to bytes, but how do I put the bytes into the query? (This question was also asked in the link you sent.) – deven Jan 20 '21 at 18:23

0 Answers0