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

Method _new

xarray/tests/test_namedarray.py:410–415  ·  view source on GitHub ↗
(
                self,
                dims: _DimsLike | Default = ...,
                data: duckarray[Any, _DType] = ...,
                attrs: _AttrsLike | Default = ...,
            )

Source from the content-addressed store, hash-verified

408 ):
409 @overload
410 def _new(
411 self,
412 dims: _DimsLike | Default = ...,
413 data: duckarray[Any, _DType] = ...,
414 attrs: _AttrsLike | Default = ...,
415 ) -> Variable[Any, _DType]: ...
416
417 @overload
418 def _new(

Callers 1

test_new_namedarrayMethod · 0.95

Calls 2

typeFunction · 0.85
copyMethod · 0.45

Tested by

no test coverage detected