bigframes.geopandas.GeoSeries.to_pickle#
- GeoSeries.to_pickle(path, *, allow_large_results=None, **kwargs) None#
Pickle (serialize) object to file.
Examples:
>>> original_df = bpd.DataFrame({"foo": range(5), "bar": range(5, 10)}) >>> original_df foo bar 0 0 5 1 1 6 2 2 7 3 3 8 4 4 9 [5 rows x 2 columns]
>>> original_df.to_pickle("./dummy.pkl")
>>> unpickled_df = bpd.read_pickle("./dummy.pkl") >>> unpickled_df foo bar 0 0 5 1 1 6 2 2 7 3 3 8 4 4 9 [5 rows x 2 columns]
- Parameters:
path (str, path object, or file-like object) – String, path object (implementing
os.PathLike[str]), or file-like object implementing a binarywrite()function. File path where the pickled object will be stored.allow_large_results (bool, default None) – If not None, overrides the global setting to allow or disallow large query results over the default size limit of 10 GB.
- Returns:
None