update_from_attrs
update_from_attrs(
self ,
attrs: collections.abc.Mapping | dascore.core.attrs.PatchAttrs[Mapping, PatchAttrs] ,
)-> ‘tuple[Self, dc.PatchAttrs]’
Update coordinates from attrs.
This will also return a PatchAttrs which conforms to coords.
Parameters
Parameter | Description |
---|---|
attrs | The attribute source, either PatchAttrs instance or mapping. |