5
In Numpy ho provato quanto segue. Sospetto che questo non sia un bug. Se è una caratteristica, non la capisco. Qualcuno può spiegarlo? Grazie.Consistenza tipo Numpy (In)?
>>> np.array([173], dtype = np.uint8) * [360]
array([62280])
>>> np.array([173], dtype = np.uint8) * 360
array([-3256], dtype=int16)
>>>
Numpy version ?? –
Sto ottenendo 'array ([62280], dtype = uint16)' in entrambi i casi. Numpy 1.8.1 su Ubuntu. –
Ottenere 'array ([62280], dtype = uint16)' in entrambi i casi, numpy 1.8.1 su Windows, Python 2.7.6 –