Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In [2]: numpy.array([[0, -128], [-100, 100], [37, -80], [255, 0]], numpy.int8) ...: <ipython-input-2-a2ef1427d77a>:1: DeprecationWarning: NumPy will stop allowing conversion of out-of-bound Python integers to integer arrays. The conversion of 255 to int8 will fail in the future. For the old behavior, usually: np.array(value).astype(dtype) will give the desired result (the cast overflows).
- Loading branch information