
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
250 Views
Left Shift every element of a masked array by a given scalar value, use the ma.MaskedArray.__lshift__() method in Python Numpy. 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 ... Read More

AmitDiwan
137 Views
To raise a given scalar value to each and every element of a masked array, use the ma.MaskedArray.__rpow__() method in Python Numpy. 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

AmitDiwan
183 Views
To compute the truth value of NOT an array element-wise, use the numpy.logical_not() method in Python Numpy. Return value is either True or False. We have set a condition here.Return value is the boolean result with the same shape as x of the NOT operation on elements of x. This ... Read More

AmitDiwan
348 Views
To compute the truth value of NOT an array element-wise, use the numpy.logical_not() method in Python Numpy. Return value is either True or False.Return value is the boolean result with the same shape as x of the NOT operation on elements of x. This is a scalar if x is ... Read More

AmitDiwan
167 Views
To compute the truth value of an array XOR another array element-wise, use the numpy.logical_xor() 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 XOR operation applied to the elements of x1 and x2; ... Read More

AmitDiwan
257 Views
To Accumulate the result of applying the operator to all elements, use the numpy.accumulate() method in Python Numpy. For a multi-dimensional array, accumulate is applied along only one axis. We will apply along axis 1.The numpy.ufunc has functions that operate element by element on whole arrays. The ufuncs are written ... Read More

AmitDiwan
194 Views
To Accumulate the result of applying the operator to all elements, use the numpy.accumulate() method in Python Numpy. For a multi-dimensional array, accumulate is applied along only one axisThe numpy.ufunc has functions that operate element by element on whole arrays. The ufuncs are written in C (for speed) and linked ... Read More

AmitDiwan
729 Views
To Accumulate the result of applying the operator to all elements, use the numpy.accumulate() method in Python Numpy. We have shown examples of add and multiple. The add.accumulate() is equivalent to np.cumsum().The numpy.ufunc has functions that operate element by element on whole arrays. The ufuncs are written in C (for ... Read More

AmitDiwan
193 Views
To compute the differences between consecutive elements of a masked array, use the MaskedArray.ediff1d() method in Python Numpy. The "to_end" parameter sets the array of number(s) to append at the end of the returned differences.This function is the equivalent of numpy.ediff1d that takes masked values into account, see numpy.ediff1d for ... Read More

AmitDiwan
773 Views
To set the fill value of a masked array, use the ma.MaskedArray.set_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 ... Read More