arviz.InferenceData.assign_coords#
- InferenceData.assign_coords(coords=None, **coords_kwargs)#
assign_coords method is extended from xarray.Dataset methods.
For more info see
xarray.Dataset.assign_coords()
. In addition to the arguments available in the original method, the following ones are added by ArviZ to adapt the method to being called on anInferenceData
object.- Other Parameters:
- groups: str or list of str, optional
Groups where the selection is to be applied. Can either be group names or metagroup names.
- filter_groups: {None, “like”, “regex”}, optional, default=None
If
None
(default), interpret groups as the real group or metagroup names. If “like”, interpret groups as substrings of the real group or metagroup names. If “regex”, interpret groups as regular expressions on the real group or metagroup names. A lapandas.filter
.- inplace: bool, optional
If
True
, modify the InferenceData object inplace, otherwise, return the modified copy.
See also