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

Function full_like

xarray/core/common.py:1497–1505  ·  view source on GitHub ↗
(
    other: DataArray,
    fill_value: Any,
    dtype: DTypeLikeSave | None = None,
    *,
    chunks: T_Chunks = None,
    chunked_array_type: str | None = None,
    from_array_kwargs: dict[str, Any] | None = None,
)

Source from the content-addressed store, hash-verified

1495
1496@overload
1497def full_like(
1498 other: DataArray,
1499 fill_value: Any,
1500 dtype: DTypeLikeSave | None = None,
1501 *,
1502 chunks: T_Chunks = None,
1503 chunked_array_type: str | None = None,
1504 from_array_kwargs: dict[str, Any] | None = None,
1505) -> DataArray: ...
1506
1507
1508@overload

Callers 10

_days_in_yearFunction · 0.90
days_in_yearMethod · 0.90
test_full_likeMethod · 0.90
test_full_likeMethod · 0.90
test_full_likeMethod · 0.90
test_full_like_daskMethod · 0.90
test_zeros_likeMethod · 0.90
test_ones_likeMethod · 0.90
zeros_likeFunction · 0.70
ones_likeFunction · 0.70

Calls 7

is_scalarFunction · 0.90
DatasetClass · 0.90
DataArrayClass · 0.90
_full_like_variableFunction · 0.85
keysMethod · 0.80
itemsMethod · 0.80
getMethod · 0.45

Tested by 6

test_full_likeMethod · 0.72
test_full_likeMethod · 0.72
test_full_likeMethod · 0.72
test_full_like_daskMethod · 0.72
test_zeros_likeMethod · 0.72
test_ones_likeMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…