describe_index¶
In [ ]:
describe_index(name: str = "",
list_polygons: bool = False,)
Retrieves information on an index that contains a set of polygons. If you do not pass any parameters, the function returns all defined indexes.
Parameters¶
Name | Type | Optional | Description |
---|---|---|---|
name | str | ✓ | Index name. |
list_polygons | bool | ✓ | Boolean that specifies whether to list the polygons in the index. If set to True, the function will return a vDataFrame instead of a tablesample. |
Returns¶
tablesample : An object containing the result. For more information, see utilities.tablesample.
Example¶
In [30]:
from verticapy.geo import *
# Describes all indexes
describe_index()
Out[30]:
In [31]:
# Describing a specific index
describe_index("world_polygon")
Out[31]:
In [32]:
# Describing all the geometries of a specific index
describe_index("world_polygon",
list_polygons = True)
Out[32]: