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

Method drop_encoding

xarray/core/dataarray.py:964–968  ·  view source on GitHub ↗

Return a new DataArray without encoding on the array or any attached coords.

(self)

Source from the content-addressed store, hash-verified

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
966 coords."""
967 ds = self._to_temp_dataset().drop_encoding()
968 return self._from_temp_dataset(ds)
969
970 @property
971 def indexes(self) -> Indexes:

Callers 1

reset_encodingMethod · 0.95

Calls 2

_to_temp_datasetMethod · 0.95
_from_temp_datasetMethod · 0.95

Tested by

no test coverage detected