Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Numpy nditer

import numpy as np
a=np.array([2,4,5])
print("Original array is :")
print(a)
print("Modified array is:")
for x in np.nditer(a):
       print(x)
Source by www.pythonpool.com #
 
PREVIOUS NEXT
Tagged: #Numpy #nditer
ADD COMMENT
Topic
Name
7+4 =