(x, condlist, funclist, *args, **kw)
| 2253 | |
| 2254 | @derived_from(np) |
| 2255 | def piecewise(x, condlist, funclist, *args, **kw): |
| 2256 | return map_blocks( |
| 2257 | _int_piecewise, |
| 2258 | x, |
| 2259 | *condlist, |
| 2260 | dtype=x.dtype, |
| 2261 | token="piecewise", |
| 2262 | funclist=funclist, |
| 2263 | func_args=args, |
| 2264 | func_kw=kw, |
| 2265 | ) |
| 2266 | |
| 2267 | |
| 2268 | def _select(*args, **kwargs): |
nothing calls this directly
no test coverage detected