2021年4月29日星期四

Converting NumPy array into Python List

How do I convert a NumPy array to a Python List, for example

[[ 0.] [ 1.] [ 2.] [ 3.] [ 4.]] --> ['0', '1', '2', '3', '4']

https://stackoverflow.com/questions/67326743/converting-numpy-array-into-python-list April 30, 2021 at 08:35AM

没有评论:

发表评论