
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
589 Views
To compare and return True if two string arrays are equal, use the numpy.char.equal() method in Python Numpy. The arr1 and arr2 are the two input string arrays of the same shape. Unlike numpy.equal, this comparison is performed by first stripping whitespace characters from the end of the string. This ... Read More

AmitDiwan
191 Views
To return the numeric string left-filled with zeros, use the numpy.char.zfill() method in Python Numpy. Here, The 1st parameter is the inout arrayThe 2nd parameter is the "width" i.e. the width of string to left-fill elements in arrayThe numpy.char module provides a set of vectorized string operations for arrays of ... Read More

AmitDiwan
124 Views
To return element-wise title cased version of string or unicode, use the numpy.char.title() method in Python Numpy. Title case words start with uppercase characters, all remaining cased characters are lowercase.The function title() returns an output array of str or unicode, depending on input type. The numpy.char module provides a set ... Read More

AmitDiwan
192 Views
To get the itemsize of the Masked Array, use the ma.MaskedArray.itemsize attribute in 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 array of booleans that determines for ... Read More

AmitDiwan
184 Views
To get the information about the memory layout of the masked array, use the ma.MaskedArray.flags in Numpy. Masked arrays are arrays that may have missing or invalid entries. The numpy.ma module provides a nearly work-alike replacement for numpy that supports data arrays with masks.A masked array is the combination of ... Read More

AmitDiwan
466 Views
To compute the bit-wise XOR of two boolean arrays element-wise, use the numpy.bitwise_xor() method in Python Numpy.Computes the bit-wise XOR of the underlying binary representation of the integers in the input arrays. This ufunc implements the C/Python operator ^.The 1st and 2nd parameter are the arrays, only integer and boolean ... Read More

AmitDiwan
133 Views
To return the variance of the masked array elements, use the ma.MaskedArray.var() in Numpy. The axis is set using the axis parameter. The axis is set to 0, for column axis.Returns the variance of the array elements, a measure of the spread of a distribution. The variance is computed for ... Read More

AmitDiwan
157 Views
To compute the bit-wise OR of a 1D and a 2D array element-wise, use the numpy.bitwise_or() method in Python Numpy. Computes the bit-wise OR of the underlying binary representation of the integers in the input arrays. This ufunc implements the C/Python operator |.The 1st and 2nd parameter are the arrays, ... Read More

AmitDiwan
118 Views
To return the variance of the masked array elements, use the ma.MaskedArray.var() in Numpy. The axis is set using the axis parameter. The axis is set to 1, for row axisReturns the variance of the array elements, a measure of the spread of a distribution. The variance is computed for ... Read More

AmitDiwan
593 Views
To compare and return True if an array is greater than another array, use the numpy.char.greater() method in Python Numpy.NumPy offers comprehensive mathematical functions, random number generators, linear algebra routines, Fourier transforms, and more. It supports a wide range of hardware and computing platforms, and plays well with distributed, GPU, ... Read More