At the moment arrays can't be initialized from dictionary values in Python 3: In [1]: import numpy as np In [2]: d = {'a':1,'b':2,'c':3} In [3]: ...
確定! 回上一頁