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!

2
  • 2
    Does this answer your question? store numpy array in mysql Commented 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.) Commented Jan 20, 2021 at 18:23

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.