numpy.ma.MaskedArray class
is a subclass of ndarray for manipulating numeric arrays with missing data. With Numpy MaskedArray .__ rmul__ we can multiply a specific value that is supplied as a parameter in the MaskedArray .__ rmul __ () method.
Syntax: numpy.MaskedArray .__ rmul__
Return: Multiply others by self, and return a new masked array.
Example # 1:
In this example, we see that each element of the array is multiplied by the value specified as a parameter in the MaskedArray method .__ rmul __ ().

Exit:
[3 6 9 12 15]
Example # 2:
Exit:
[[5 10 15 20 25] [30 25 20 15 10]]
Pandas for Everyone: Python Data Analysis (AddisonWesley Data & Analytics Series), 1st Edition. Pandas for Everyone brings together the practical knowledge and insights you need to solve realworl...
05/09/2021
In the last decade, we have seen the impact of exponential advances in technology on the way we work, shop, communicate, and think. At the heart of this change is our ability to collect and gain insig...
10/07/2020
Become a master in Python by learning coding best practices and advanced programming concepts in Python 3.7. This book is written for Python developers who wish to go further in mastering Python. A...
23/09/2020
Introduction to Machine Learning with Python: A Guide for Data Scientists 1st Edition. Machine learning has become an integral part of many commercial applications and research projects, but this f...
05/09/2021
