spatialdata.match_table_to_element#
- spatialdata.match_table_to_element(sdata, element_name, table_name='table')#
Filter the table and reorders the rows to match the instances (rows/labels) of the specified SpatialElement.
- Parameters:
sdata (
SpatialData
) – SpatialData objectelement_name (
str
) – The name of the spatial elements to be joined with the table.table_name (
str
(default:'table'
)) – The name of the table to match to the element.
- Return type:
- Returns:
: Table with the rows matching the instances of the element