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

Method drop_encoding

xarray/core/dataset.py:474–478  ·  view source on GitHub ↗

Return a new Dataset without encoding on the dataset or any of its variables/coords.

(self)

Source from the content-addressed store, hash-verified

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
476 variables/coords."""
477 variables = {k: v.drop_encoding() for k, v in self.variables.items()}
478 return self._replace(variables=variables, encoding={})
479
480 @property
481 def dims(self) -> Frozen[Hashable, int]:

Callers 5

reset_encodingMethod · 0.95
test_drop_encodingMethod · 0.45
test_drop_encodingMethod · 0.45
test_drop_encodingMethod · 0.45

Calls 2

_replaceMethod · 0.95
itemsMethod · 0.80

Tested by 4

test_drop_encodingMethod · 0.36
test_drop_encodingMethod · 0.36
test_drop_encodingMethod · 0.36