Answers for "ravel function in python"

1

ravel python

>>> x = np.array([[1, 2, 3], [4, 5, 6]])
>>> np.ravel(x)
array([1, 2, 3, 4, 5, 6])
Posted by: Guest on December-17-2020

Python Answers by Framework

Browse Popular Code Answers by Language