With the numpy.getmaskarray()
method we can get the masked matrix as a numpy array that shows the masked values using numpy.getmaskarray ()
.
Syntax:
numpy.getmaskarray(array)
Return: Return masked values in the form of numpy array.
Example # 1:
In this example, we can see that using numpy.getmaskarray ()
we can get the masked matrix as a numpy array.

Output:
array ([[False False]
[True False]])
Example # 2 :

Output:
array ([False True False False False])
We live in an age of socalled Big Data. We hear terms like data scientist, and there is much talk about analytics and the mining of large amounts of corporate data for tidbits of business value. Ther...
10/07/2020
This book is an indispensable guide focuses on Machine Learning and R Programming, in an instructive and conversational tone which helps them who want to make their career in Big Data Analytics/ Data ...
10/07/2020
If you’ve picked up this book, you’re probably aware of the extraordinary progress that deep learning has represented for the field of artificial intelligence in the recent past. In a mere five ye...
23/09/2020
Topics on Big Data are growing rapidly. From the first 3 V’s that originally characterized Big Data, the industry now has identified 42 V’s associated with Big Data. The list of how we characteriz...
10/07/2020