from_dict

method of dascore.core.attrs.PatchAttrs source

from_dict(
    attr_map: collections.abc.Mapping | dascore.core.attrs.PatchAttrs | None[Mapping, PatchAttrs, None] ,
)-> ‘Self’

Get a new instance of the PatchAttrs.

Parameters

Parameter Description
attr_map Anything convertible to a dict that contains attr info. dims
entries are ignored during normalization.