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

Method reset_encoding

xarray/core/dataset.py:467–472  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

465 self._encoding = dict(value)
466
467 def reset_encoding(self) -> Self:
468 warnings.warn(
469 "reset_encoding is deprecated since 2023.11, use `drop_encoding` instead",
470 stacklevel=2,
471 )
472 return self.drop_encoding()
473
474 def drop_encoding(self) -> Self:
475 """Return a new Dataset without encoding on the dataset or any of its

Callers

nothing calls this directly

Calls 1

drop_encodingMethod · 0.95

Tested by

no test coverage detected