Rodrigo Prodohl
Rodrigo Prodohl

Reputation: 143

Storing large number of arrays to be used in python

I have around 50,000 2D arrays and was wondering what would be the best/fastest way to store them to be accessed by a python application. The idea for the end result would be that the python program would search for a certain matrix based from the users input and then some action would be preformed on the selected array within the application. I've looked into sql database but not sure if this is the best method. It would be greatly appreciated if someone could point me in the right direction

Upvotes: 1

Views: 161

Answers (1)

Ben Huber
Ben Huber

Reputation: 56

I would suggest Numpy with CSV (http://www.numpy.org/) and only use a database if you see that numpy is not enough for your need.

Upvotes: 2

Related Questions