unary functions
- ABS, Fabs calculates the absolute value of an integer, floating point, or complex number. For non-complex values, a faster fabs can be used.
- SQRT calculates the square root of each element. Equivalent to ARR * * 0.5
- Sqare calculates the square of each element. Equivalent to arr * * 2
- Exp calculates the e^x of each element
- Log, log10, log2, log1p are the natural logarithm, the base is 10 log, the base is 2 log and log (1 + x).
- Sign calculates the positive and negative numbers of each element: 1 (positive), 0 (0), 1 (negative).
- Ceil computes the ceiling value of each element, which is the smallest integer greater than or equal to the value.
- Floor calculates the floor value of each element, which is the smallest integer less than or equal to the value.
- Rint rounds the values of each element to the nearest integer, preserving the Dtype.
- MODF returns the fractional part of the array with the integer portion as two independent arrays.
- isNaN returns a Boolean array that represents "which values are Nan (this is not a number)"
- Isfinite, Isinf returns a representation of "which elements are finite (not inf, non-Nan)" or "which elements are
- Infinite "Boolean array of type
- Cos, cosh, sin, sinh, tan, tanh normal or hyperbolic trigonometric functions
- Arccos, Arccosh, Arcsin, Arcsinh,
- Arctan, Arctanh
- Inverse trigonometric function
- Logical_not calculates the true value of not x for each element. Equivalent to-arr.
Binary functions
- Add adds the corresponding elements in the array
- Subtract subtracts the elements from the second array from the first one
- Multiply array element multiplication
- Divide, Floor_divide division or down-divide method
- Power calculates a^b for element B in the first array in the corresponding position in the elements a and the second array.
- Maximum, Fmax the maximum value of the element-level calculation. Fmax will ignore Nan.
- Minimum, the Fmin element-level minimum value calculation. Fmin will ignore Nan.
- Modulo calculation of MoD element level
- Copysign copy a symbol from the second array to the value in the first array
- Greater, greater_equal, less,
- Less_equal,equal, Not_equal
- Performs an element-level comparison and eventually produces a Boolean array.
- Logical_and, Logical_or,
- Logical_xor
- Performs an element-level truth-logic operation, resulting in a Boolean array
NumPy Element Series Group function