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

Function align

xarray/structure/alignment.py:678–687  ·  view source on GitHub ↗
(
    obj1: T_Obj1,
    /,
    *,
    join: JoinOptions | CombineKwargDefault = "inner",
    copy: bool = True,
    indexes=None,
    exclude: str | Iterable[Hashable] = frozenset(),
    fill_value=dtypes.NA,
)

Source from the content-addressed store, hash-verified

676
677@overload
678def align(
679 obj1: T_Obj1,
680 /,
681 *,
682 join: JoinOptions | CombineKwargDefault = "inner",
683 copy: bool = True,
684 indexes=None,
685 exclude: str | Iterable[Hashable] = frozenset(),
686 fill_value=dtypes.NA,
687) -> tuple[T_Obj1]: ...
688
689
690@overload

Callers 15

map_blocksFunction · 0.90
_setitem_checkMethod · 0.90
broadcast_likeMethod · 0.90
_binary_opMethod · 0.90
sortbyMethod · 0.90
check_alignmentFunction · 0.90
whereMethod · 0.90
broadcast_likeMethod · 0.90
_binary_opMethod · 0.90
_resolve_groupFunction · 0.90
_binary_opMethod · 0.90
_dataset_concatFunction · 0.90

Calls 2

alignMethod · 0.95
AlignerClass · 0.85

Tested by 15

test_align_fill_valueMethod · 0.72
test_alignMethod · 0.72
test_align_excludeMethod · 0.72
test_align_nocopyMethod · 0.72
test_align_indexesMethod · 0.72
test_align_non_uniqueMethod · 0.72
test_alignMethod · 0.72
test_align_dtypeMethod · 0.72
test_align_copyMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…