bigframes.pandas.Series.to_pickle#
- Series.to_pickle(path,*,allow_large_results=None,**kwargs)→None[source]#
Pickle (serialize) object to file.
Examples:
>>>original_df=bpd.DataFrame({"foo":range(5),"bar":range(5,10)})>>>original_df foo bar0 0 51 1 62 2 73 3 84 4 9[5 rows x 2 columns]
>>>original_df.to_pickle("./dummy.pkl")
>>>unpickled_df=bpd.read_pickle("./dummy.pkl")>>>unpickled_df foo bar0 0 51 1 62 2 73 3 84 4 9[5 rows x 2 columns]
- Parameters:
path (str,path object, orfile-like object) – String, path object (implementing
os.PathLike[str]), or file-likeobject implementing a binarywrite()function. File path wherethe pickled object will be stored.allow_large_results (bool,default None) – If not None, overrides the global setting to allow or disallowlarge query results over the default size limit of 10 GB.
- Returns:
None
On this page