numpy.ma.ids() method, we can get the address of the masked array containing the data using
numpy.ma.ids () .
numpy.ma.ids (array, mask)
Return: strong> Return the address of masked array.
Example # 1:
In this example, we can see that with
numpy. ma.ids () we can get the address of the target masked array.
data = [[-, 2, 3],
[4, -, 6],
[7, 8, -]] ,
mask = [[True, False, False],
[False, True, False],
[False, False, True]],
fill_value = 999999) p>
Python: - The Bible - 3 Manuscripts in 1 book:
Taking into account the development of modern programming, especially the emerging programming languages that reflect modern practice, Numerical Programming: A Practical Guide for Scientists and...
For courses in business intelligence or decision support systems. A managerial approach to understanding business intelligence systems. To help future managers use and understand analytics, Business...
Python for Programmers: with Big Data and Artificial Intelligence Case Studies This book, written for programmers with a high-level experience in another language, uses how-to instructions to teach...