Back to Numerical Arrays (NumPy)
np.iscomplexobj
Check if the array has a complex dtype.
Syntax
np.iscomplexobj(x)
Description
Check if the array has a complex dtype.
Parameters
| Name | Description |
|---|---|
| x | - Input array |
Returns
boolean