AlloViz.AlloViz.Elements.Element._align_for_op¶
- Element._align_for_op(other, axis: AxisInt, flex: bool | None = False, level: Level | None = None)¶
Convert rhs to meet lhs dims if input is list, tuple or np.ndarray.
- Parameters:
- leftDataFrame
- rightAny
- axisint
- flexbool or None, default False
Whether this is a flex op, in which case we reindex. None indicates not to check for alignment.
- levelint or level name, default None
- Returns:
- leftDataFrame
- rightAny