Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pydata/xarray
/ add
Method
add
xarray/core/utils.py:636–637 ·
view source on GitHub ↗
(self, value: T)
Source
from the content-addressed store, hash-verified
634
return
len(self._d)
635
636
def
add(self, value: T) -> None:
637
self._d[value] = None
638
639
def
discard(self, value: T) -> None:
640
del self._d[value]
Callers
15
interp
Function · 0.95
_broadcast_indexes_vectorized
Method · 0.95
_draw_unique_name
Method · 0.45
_encode_coordinates
Function · 0.45
_walk_array_namespaces
Function · 0.45
find_independent_seasons
Function · 0.45
_convert_unsigned_fill_value
Function · 0.45
_check_children
Method · 0.45
_overwrite_indexes
Method · 0.45
_copy_listed
Method · 0.45
_rename_vars
Method · 0.45
expand_dims
Method · 0.45
Calls
no outgoing calls
Tested by
1
_draw_unique_name
Method · 0.36