So if I make a dictionary like
dictionary = {'first': array([1,2,3,4,5]), 'second': array([1,2,3,4,5])}
and then if have to somehow save it to a file, how do I do it? I tried pickling but it take a long time to pack and unpack the data at the start and end of the program as I am going to use a big dataset.
What should I do?