MCPcopy
hub / github.com/pandas-dev/pandas / is_bool_not_implemented

Function is_bool_not_implemented

pandas/tests/arrays/masked/test_arithmetic.py:39–45  ·  view source on GitHub ↗
(data, op_name)

Source from the content-addressed store, hash-verified

37
38
39def is_bool_not_implemented(data, op_name):
40 # match non-masked behavior
41 return data.dtype.kind == "b" and op_name.strip("_").lstrip("r") in [
42 "pow",
43 "truediv",
44 "floordiv",
45 ]
46
47
48# Test equivalence of scalars, numpy arrays with array ops

Callers 6

test_array_NAFunction · 0.85
test_frameFunction · 0.85
test_seriesFunction · 0.85
test_error_len_mismatchFunction · 0.85

Calls 2

lstripMethod · 0.80
stripMethod · 0.80

Tested by

no test coverage detected