
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
559 Views
To add arguments element-wise with different shapes, use the numpy.add() 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 (possible ... Read More

AmitDiwan
443 Views
To subtract arguments element-wise, use the numpy.subtract() method in Python Numpy. The output is set "float" using the "dtype" parameter.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 ... Read More

AmitDiwan
190 Views
To subtract arguments element-wise, use the numpy.subtract() 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 (possible only as a ... Read More

AmitDiwan
317 Views
To add arguments element-wise, use the numpy.add() method in Python Numpy. The output is set "float" using the "dtype" parameter.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 ... Read More

AmitDiwan
188 Views
To return the fractional and integral parts of array values, use the numpy.modf() method in Python Numpy. Multiply the fractional values using the index 0 values. The fractional and integral parts are negative if the given number is negative.The out is a location into which the result is stored. If ... Read More

AmitDiwan
603 Views
To return the fractional and integral parts of array values, use the numpy.modf() method in Python Numpy. The fractional and integral parts are negative if the given number is negative.The out is a location into which the result is stored. If provided, it must have a shape that the inputs ... Read More

AmitDiwan
185 Views
To reduce a multi-dimensional array, use the np.ufunc.reduce() method in Python Numpy. Here, we have used multiply.reduce() to reduce it to the multiplication of elements. The axis is set using the "axis" parameter. Axis or axes along which a reduction is performed.A universal function (or ufunc for short) is a ... Read More

AmitDiwan
450 Views
To test element-wise for positive or negative infinity, use the numpy.isinf() method in Python Numpy. Returns a boolean array of the same shape as x, True where x == +/-inf, otherwise False.NumPy uses the IEEE Standard for Binary Floating-Point for Arithmetic (IEEE 754). Errors result if the second argument is supplied ... Read More

AmitDiwan
710 Views
To reduce a multi-dimensional array, use the np.ufunc.reduce() method in Python Numpy. Here, we have used multiply.reduce() to reduce it to the multiplication of elements. The axis is set using the "axis" parameter. Axis or axes along which a reduction is performed.The numpy.ufunc has functions that operate element by element ... Read More

AmitDiwan
141 Views
To test array values for finiteness, use the numpy.isfinite() method in Python Numpy. The new location where we will store the result is a new array. Returns True where x is not positive infinity, negative infinity, or NaN; false otherwise. This is a scalar if x is a scalar.This condition ... Read More