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!
-
2Does this answer your question? store numpy array in mysqlYevhen Kuzmovych– Yevhen Kuzmovych2021-01-20 15:45:08 +00:00Commented Jan 20, 2021 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– deven2021-01-20 18:23:55 +00:00Commented Jan 20, 2021 at 18:23
Add a comment
|