Numpy matrix.getA1 () method, we can get the ndarray of one dimension for a given matrix.
Return: Return ndarray of size 1-D as given matrix
Example # 1:
In this example we see that we can get a numpy array using the
matrix.getA1 () .
[6 2 3]
Example # 2:
[1 2 3 4 5 6 7 8 9]
Pandas 1.x Cookbook: Practical recipes for scientific computing, time series analysis, and exploratory data analysis using Python, 2nd Edition....
R for Everyone: Advanced Analytics and Graphics. ...
Target knows. Apple Computer knows, too. So do LinkedIn, Netflix, Facebook, Twitter, Expedia, national and local political campaigns, and dozens of other organizations that all generate enormous eco...
In Learn Python 3 the Hard Way PDF, you'll learn Python by working through 52 brilliantly crafted exercises. Read them. Enter your code exactly. (No copying and pasting!) Correct your mistakes. ...