
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 count the number of masked elements, use the ma.MaskedArray.count_masked() method in Python Numpy. The method returns the total number of masked elements (axis=None) or the number of masked elements along each slice of the given axis.The axis parameter is the axis along which to count. If None (default), a ... Read More

AmitDiwan
134 Views
To return a new array of given shape and type, filled with zeros, use the ma.zeros() method in Python Numpy. The 1st parameter sets the shape of the array. The 2nd parameter is the desired data-type for the array.The order parameter suggests whether to store multi-dimensional data in row-major (C-style) ... Read More

AmitDiwan
211 Views
To return a new array of given shape and type, filled with zeros, use the ma.zeros() method in Python Numpy. The 1st parameter sets the shape of the array.The dtype parameter is the desired data-type for the array. The order parameter suggests whether to store multi-dimensional data in row-major (C-style) ... Read More

AmitDiwan
139 Views
To return a new array of given shape and type, filled with ones, use the ma.one() method in Python Numpy. The 1st parameter sets the shape of the array. The 2nd parameter is the desired data-type for the array.The order parameter suggests whether to store multi-dimensional data in row-major (C-style) ... Read More

AmitDiwan
158 Views
To return a new array of given shape and type, filled with ones, use the ma.one() method in Python Numpy. The 1st parameter sets the shape of the array.The dtype parameter is the desired data-type for the array. The order parameter suggests whether to store multi-dimensional data in row-major (C-style) ... Read More

AmitDiwan
283 Views
To empty masked array with the properties of an existing array, use the ma.masked_all_like() 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 array of ... Read More

AmitDiwan
124 Views
To return an empty masked array of the given shape and dtype where all the data are masked, use the ma.masked_all() method in Python Numpy. The 1st parameter sets the shape of the required MaskedArray.A masked array is the combination of a standard numpy.ndarray and a mask. A mask is ... Read More

AmitDiwan
122 Views
To return an empty masked array of the given shape and dtype where all the data are masked, use the ma.masked_all() method in Python Numpy. The 1st parameter sets the shape of the required MaskedArray. The dtype parameter sets the desired output data-type for the array.A masked array is the ... Read More

AmitDiwan
308 Views
To return a new array with the same shape and type as a given array, use the ma.empty_like() method in Python Numpy. It returns and array of uninitialized (arbitrary) data with the same shape and type as prototype.The order parameter overrides the memory layout of the result. 'C' means C-order, ... Read More

AmitDiwan
187 Views
To return a new array of given shape and type, without initializing entries, use the ma.empty() method in Python Numpy. The 1st parameter sets the shape of the empty array. The dtype parameter sets the desired output data-type for the array. The method returns an array of uninitialized (arbitrary) data ... Read More