Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pydata/xarray
/ drop_encoding
Method
drop_encoding
xarray/core/variable.py:938–940 ·
view source on GitHub ↗
Return a new Variable without encoding.
(self)
Source
from the content-addressed store, hash-verified
936
return
self.drop_encoding()
937
938
def
drop_encoding(self) -> Self:
939
""
"Return a new Variable without encoding."
""
940
return
self._replace(encoding={})
941
942
def
_copy(
943
self,
Callers
2
reset_encoding
Method · 0.95
test_explicitly_indexed_array_preserved
Function · 0.95
Calls
1
_replace
Method · 0.95
Tested by
1
test_explicitly_indexed_array_preserved
Function · 0.76