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

Method reset_encoding

xarray/core/variable.py:931–936  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

929 raise ValueError("encoding must be castable to a dictionary") from err
930
931 def reset_encoding(self) -> Self:
932 warnings.warn(
933 "reset_encoding is deprecated since 2023.11, use `drop_encoding` instead",
934 stacklevel=2,
935 )
936 return self.drop_encoding()
937
938 def drop_encoding(self) -> Self:
939 """Return a new Variable without encoding."""

Callers

nothing calls this directly

Calls 1

drop_encodingMethod · 0.95

Tested by

no test coverage detected