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.list_layers.html below:

geopandas.list_layers — GeoPandas 1.1.1+14.ge9d0208.dirty documentation

geopandas.list_layers#
geopandas.list_layers(filename)[source]#

List layers available in a file.

Provides an overview of layers available in a file or URL together with their geometry types. When supported by the data source, this includes both spatial and non-spatial layers. Non-spatial layers are indicated by the "geometry_type" column being None. GeoPandas will not read such layers but they can be read into a pd.DataFrame using pyogrio.read_dataframe().

Parameters:
filenamestr, path object or file-like object

Either the absolute or relative path to the file or URL to be opened, or any object with a read() method (such as an open file or StringIO)

Returns:
pandas.DataFrame

A DataFrame with columns “name” and “geometry_type” and one row per layer.


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