- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- 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 11360 Articles
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
189 Views
To reduce array’s dimension by one, use the np.ufunc.reduce() method in Python Numpy. Here, we have used add.reduce() to reduce it to the addition of all the elements. To initialize the reduction with a different value, use the "initials" parameter.A universal function (or ufunc for short) is a function that ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
93 Views
To compute the truth value of an array OR another array element-wise, use the numpy.logical_or() method in Python Numpy. Return value is either True or False. We have set conditions here as a parameter. Return value is the boolean result of the logical OR operation applied to the elements of ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
194 Views
To return the element-wise remainder of division, use the numpy.fmod() method in Python Numpy. For fmod, the sign of result is the sign of the dividend. The fmod() function is equivalent to the Matlab(TM) rem function. Here, the 1st parameter is the Dividend array. The 2nd parameter is the Divisor ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
104 Views
To compute the truth value of an array OR another array element-wise, use the numpy.logical_or() method in Python Numpy. Return value is either True or False. Return value is the boolean result of the logical OR operation applied to the elements of x1 and x2; the shape is determined by ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
249 Views
To compute the truth value of an array AND another array element-wise, use the numpy.logical_and() method in Python Numpy. Return value is either True or False. We have set conditions here.Return value is the Boolean result of the logical AND operation applied to the elements of x1 and x2; the ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
113 Views
To compute the truth value of an array AND another array element-wise, use the numpy.logical_and() method in Python Numpy. Return value is either True or False. Return value is the Boolean result of the logical AND operation applied to the elements of x1 and x2; the shape is determined by ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
742 Views
To return the truth value of an array not equal to another element-wise, use the numpy.not_equal() method in Python Numpy. Return value is either True or False. The function returns an output array, element-wise comparison of x1 and x2. Typically of type bool, unless dtype=object is passed. This is a ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
263 Views
To return the truth value of an array less than another element-wise, use the numpy.less() method in Python Numpy. Return value is either True or False. Returns an output array, element-wise comparison of x1 and x2. Typically, of type bool, unless dtype=object is passed. This is a scalar if both ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
458 Views
To reset the fill value of the ma, use the ma.MaskedArray.fill_value() method in Python Numpy and set it to None.A masked array is the combination of a standard numpy.ndarray and a mask. A mask is either nomask, indicating that no value of the associated array is invalid, or an array ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
602 Views
To get the fill value, use the ma.MaskedArray.get_fill_value() method in Python Numpy. The filling value of the masked array is a scalar. A masked array is the combination of a standard numpy.ndarray and a mask. A mask is either nomask, indicating that no value of the associated array is invalid, ... Read More