libpysal.graph.read_gal¶
- libpysal.graph.read_gal(path)[source]¶
Read Graph from a GAL file
The reader tries to infer the dtype of IDs. In case of unsuccessful casting to int, it will fall back to string.
- Parameters:
- path
python:str
path to a file
- path
- Returns:
Graph
deserialized Graph
Examples
>>> graph.read_parquet("contiguity.gal")