arviz.InferenceData.median#

InferenceData.median(dim=None, *, skipna=None, keep_attrs=None, **kwargs)#

median method is extended from xarray.Dataset methods.

For more info see xarray.Dataset.median(). 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 an InferenceData 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 la pandas.filter.

inplace: bool, optional

If True, modify the InferenceData object inplace, otherwise, return the modified copy.