Saving numpy array in mongodb

后端 未结 5 1770
醉话见心
醉话见心 2020-12-23 12:01

I have a couple of MongoDB documents wherein one my the fields is best represented as a matrix (numpy array). I would like to save this document to MongoDB, how do I do this

5条回答
  •  被撕碎了的回忆
    2020-12-23 12:49

    We've built an open source library for storing numeric data (Pandas, numpy, etc.) in MongoDB:

    https://github.com/manahl/arctic

    Best of all it's really easy to use, pretty fast and supports data versioning, multiple data libraries and more.

提交回复
热议问题