pg_utils.numerics.io.parse_coo
- pg_utils.numerics.io.parse_coo(serialized_obj: dict, transform: Optional[Callable[[Any], Any]] = None) coo_array [source]
Retrieve COOrdinate format sparse array from serialized obj
- Parameters:
serialized_obj (dict) – serialized object
transform (Optional[Callable[[Any], Any]]) – transformation that takes the serialized sparse data elements to the desired form. Default is None, no transformation
- Returns:
COOrdinate format sparse array