A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://geopandas.readthedocs.io/en/latest/docs/reference/api/geopandas.GeoDataFrame.to_feather.html below:

geopandas.GeoDataFrame.to_feather — GeoPandas 1.1.1+14.ge9d0208.dirty documentation

geopandas.GeoDataFrame.to_feather#
GeoDataFrame.to_feather(path, index=None, compression=None, schema_version=None, **kwargs)[source]#

Write a GeoDataFrame to the Feather format.

Any geometry columns present are serialized to WKB format in the file.

Requires ‘pyarrow’ >= 0.17.

Added in version 0.8.

Parameters:
pathstr, path object
indexbool, default None

If True, always include the dataframe’s index(es) as columns in the file output. If False, the index(es) will not be written to the file. If None, the index(ex) will be included as columns in the file output except RangeIndex which is stored as metadata only.

compression{‘zstd’, ‘lz4’, ‘uncompressed’}, optional

Name of the compression to use. Use "uncompressed" for no compression. By default uses LZ4 if available, otherwise uncompressed.

schema_version{‘0.1.0’, ‘0.4.0’, ‘1.0.0’, None}

GeoParquet specification version; if not provided will default to latest supported version.

kwargs

Additional keyword arguments passed to pyarrow.feather.write_feather().

Examples

>>> gdf.to_feather('data.feather')

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4