AttributeError: 'numpy.ndarray' object has no attribute 'append'

后端 未结 2 1853
借酒劲吻你
借酒劲吻你 2021-02-04 23:54

I am trying to run the code presented on the second page:

http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00-introduction-to-computer-science-an

2条回答
  •  误落风尘
    2021-02-05 00:12

    Use numpy.concatenate(list1 , list2) or numpy.append() Look into the thread at Append a NumPy array to a NumPy array.

提交回复
热议问题