
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
AmitDiwan has Published 10744 Articles

AmitDiwan
1K+ Views
To return the absolute value of complex values, use the numpy.absolute() method in Python Numpy. The out is a location into which the result is stored. If provided, it must have a shape that the inputs broadcast to. If not provided or None, a freshly-allocated array is returned. A tuple ... Read More

AmitDiwan
746 Views
To return the absolute value of float values, use the numpy.fabs() method in Python Numpy. This function returns the absolute values (positive magnitude) of the data in x. Complex values are not handled, use absolute to find the absolute values of complex data.The out is a location into which the ... Read More

AmitDiwan
441 Views
To return the element-wise remainder of division with mod operation, use the numpy.mod() method in Python Numpy. Here, the 1st parameter is the Dividend array. The 2nd parameter is the Divisor array.Computes the remainder complementary to the floor_divide function. It is equivalent to the Python modulus operator "x1 % x2" ... Read More

AmitDiwan
179 Views
To return the element-wise remainder of division, use the numpy.remainder() method in Python Numpy. Here, the 1st parameter is the Dividend array. The 2nd parameter is the Divisor array. Computes the remainder complementary to the floor_divide function. It is equivalent to the Python modulus operator "x1 % x2" and has ... Read More

AmitDiwan
395 Views
To return the element-wise remainder of division, use the numpy.remainder() method in Python Numpy. Here, the 1st parameter is the Dividend array. The 2nd parameter is the Divisor array.Computes the remainder complementary to the floor_divide function. It is equivalent to the Python modulus operator''x1 % x2'' and has the same ... Read More

AmitDiwan
743 Views
To raise the bases to different exponents, use the numpy.power() method in Python. Here, the 1st parameter is the base and the 2nd exponents.Raise each base in x1 to the positionally-corresponding power in x2. x1 and x2 must be broadcastable to the same shape. An integer type raised to a ... Read More

AmitDiwan
175 Views
To return the trunc of the array elements, element-wise, use the numpy.trunc() method in Python Numpy. The new location where we will store the result is a new array.The function returns the truncated value of each element in x. This is a scalar if x is a scalar. The truncated ... Read More

AmitDiwan
141 Views
To return the truncated value of a specific element, use the index value in the numpy.trunc() method in Python Numpy.The function returns the truncated value of each element in x. This is a scalar if x is a scalar. The truncated value of the scalar x is the nearest integer ... Read More