6.8. copro.data.find_neighbors¶
- copro.data.find_neighbors(ID, neighboring_matrix)[source]¶
Filters all polygons which are actually neighbors to given polygon.
- Parameters
ID (int) – ID of specific polygon under consideration.
neighboring_matrix (dataframe) – output from neighboring_polys().
- Returns
dataframe containig IDs of all polygons that are actual neighbors.
- Return type
dataframe