MCPcopy
hub / github.com/pydata/xarray / _new

Function _new

xarray/namedarray/core.py:97–102  ·  view source on GitHub ↗
(
    x: NamedArray[Any, _DType_co],
    dims: _DimsLike | Default = ...,
    data: duckarray[_ShapeType, _DType] = ...,
    attrs: _AttrsLike | Default = ...,
)

Source from the content-addressed store, hash-verified

95
96@overload
97def _new(
98 x: NamedArray[Any, _DType_co],
99 dims: _DimsLike | Default = ...,
100 data: duckarray[_ShapeType, _DType] = ...,
101 attrs: _AttrsLike | Default = ...,
102) -> NamedArray[_ShapeType, _DType]: ...
103
104
105@overload

Callers 1

_newMethod · 0.85

Calls 2

typeFunction · 0.85
copyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…