Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我编写了一个处理非常大数据的 Python 程序。在处理数据时,它会将处理后的数据放入一个数组中,该数组很容易增长到数百兆字节甚至超过 1 GB。
我之所以这样设置,是因为 Python 需要不断地访问数组中的数据。因为数组越来越大,这个过程很容易出错,而且很慢。
有没有办法将类似数组的数据库存储在不同的文件或数据库模块中并根据需要访问它?
也许这是一个非常基本的任务,但我不知道。