numpy.ma.MaskedArray class is a subclass of ndarray for manipulating numeric arrays with missing data. With the Numpy method MaskedArray .__ rrshift__ we can get elements that are shifted to the right by the value specified as a parameter.
Syntax: numpy.MaskedArray .__ rrshift__
Return: Return value & gt; & gt; self.
Example # 1:
In this example we see that each element is shifted to the right by the value passed as a parameter.
[1 0 0 0 0]
Example # 2:
[[2 1 0 0 0] [0 0 0 0 1]]
Mastering regular expressions by Jeffrey Friedl, 3rd edition. Regular expressions are an extremely powerful tool for manipulating text and data. They are standard features today in a variety of pop...
A Problem-Solver’s Guide to Building Real-World Intelligent Systems. Data is the new oil and Machine Learning is a powerful concept and framework for making the best out of it. In this age of aut...
Shabbir Challawala has over 8 years of rich experience in providing solutions based on MySQL and PHP technologies. He is currently working with KNOWARTH Technologies. He has worked in various PHP-base...
The Apache Hadoop software library has come into it’s own. It is the basis for advanced distributed development for a host of companies, government institutions, and scientific research facilities. ...