read_pickle much slower in v0.13 (not using cPickle when ...
github.com › pandas-dev › pandasApr 17, 2014 · If you put some strings in there things get more sluggish - here's a 10x1M rows x 2 cols (one string and one float), which is about 230Mb on disk, and takes almost 4x longer to load with read_pickle compared to cPickle. import pandas import cPickle from random import random, randrange from timeit import Timer N=1000000 t = pandas.DataFrame([[random() for _ in range(N)],['%08x'%randrange(16**8) for _ in range(N)]]).T t2 = pandas.concat([t for _ in range(10)]) t2.to_pickle('foo.pickle') Timer ...
pandas.read_pickle — pandas 1.3.5 documentation
pandas.pydata.org › api › pandaspandas.read_pickle. ¶. Load pickled pandas object (or any object) from file. Loading pickled data received from untrusted sources can be unsafe. See here. File path, URL, or buffer where the pickled object will be loaded from. Changed in version 1.0.0: Accept URL. URL is not limited to S3 and GCS. If ‘infer’ and ‘path_or_url’ is path ...