Edges.from_npz

classmethod Edges.from_npz(data, prefix: str = '', **kwargs)[source]

Construct object from .npz file.

Parameters
datastr or NpzFile

Filename as str or NpzFile.

prefixstr, default=””

Object data is stored with key = (prefix + internal_name).

Returns
obj

Object.

See also

numpy.lib.npyio.NpzFile