Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

NumPy fliplr Example

# welcome to softhunt.net
# Python Program illustrating
# numpy.flip() method

import numpy as np

array = np.arange(27).reshape((3,3,3))
print("Original array : 
", array)

print("Flipped array : 
", np.fliplr(array))
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #NumPy #fliplr #Example
ADD COMMENT
Topic
Name
1+9 =