pandas 1.4.2

ParametersReturns
kleene_and(left: 'bool | libmissing.NAType | np.ndarray', right: 'bool | libmissing.NAType | np.ndarray', left_mask: 'np.ndarray | None', right_mask: 'np.ndarray | None')

Values are NA for NA & NA or True & NA .

Parameters

left, right : ndarray, NA, or bool

The values of the array.

left_mask, right_mask : ndarray, optional

The masks. Only one of these may be None, which implies that the associated :None:None:`left` or :None:None:`right` value is a scalar.

Returns

result, mask: ndarray[bool]

The result of the logical xor, and the new mask.

Boolean and using Kleene logic.

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: /pandas/core/ops/mask_ops.py#129
type: <class 'function'>
Commit: