attributeerror 'numpy.ndarray' object has no attribute 'append' python code example
Example: 'numpy.ndarray' object has no attribute 'append'
#instead of name_array.append(number) use numpy.append(name_array, number)
#insted of:
a = [1,2,3,4]
a.append(5)
#use:
a = [1,2,3,4]
numpy.append(a, 5)