staircase.core.arrays.accessor.StairsAccessor.logical_and#

StairsAccessor.logical_and()#

Returns a boolean-valued step function resulting from a logical-and operation.

The operands are the Stairs instances in the object the accessor belongs to.

Returns
staircase.Stairs

boolean-valued step function

Examples

>>> arr = pd.Series([s1, s2], dtype="Stairs")
../../_images/staircase-core-arrays-accessor-StairsAccessor-logical_and-1.png