Proximity

Proximity(method, **options)

The proximity type for a method named by a string; construct the type directly otherwise.

Proximity(“contiguity”, rule=“rook”) # same as ContiguityProx(rule=“rook”)

Parameters

Name Type Description Default
method Literal['contiguity', 'nearest', 'distance', 'pairs'] | str “contiguity”, “nearest”, “distance” or “pairs”. required
**options Arguments of that type. {}