MCPcopy Index your code
hub / github.com/pydata/xarray / quantile

Method quantile

xarray/computation/weighted.py:521–531  ·  view source on GitHub ↗
(
        self,
        q: ArrayLike,
        *,
        dim: Dims = None,
        keep_attrs: bool | None = None,
        skipna: bool = True,
    )

Source from the content-addressed store, hash-verified

519 )
520
521 def quantile(
522 self,
523 q: ArrayLike,
524 *,
525 dim: Dims = None,
526 keep_attrs: bool | None = None,
527 skipna: bool = True,
528 ) -> T_Xarray:
529 return self._implementation(
530 self._weighted_quantile, q=q, dim=dim, skipna=skipna, keep_attrs=keep_attrs
531 )
532
533 def __repr__(self) -> str:
534 """provide a nice str repr of our Weighted object"""

Callers

nothing calls this directly

Calls 1

_implementationMethod · 0.95

Tested by

no test coverage detected