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

Method reset_encoding

xarray/core/dataarray.py:957–962  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

955 self.variable.encoding = dict(value)
956
957 def reset_encoding(self) -> Self:
958 warnings.warn(
959 "reset_encoding is deprecated since 2023.11, use `drop_encoding` instead",
960 stacklevel=2,
961 )
962 return self.drop_encoding()
963
964 def drop_encoding(self) -> Self:
965 """Return a new DataArray without encoding on the array or any attached

Callers

nothing calls this directly

Calls 1

drop_encodingMethod · 0.95

Tested by

no test coverage detected