Created
November 22, 2011 17:04
-
-
Save rb2k/1386213 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy | |
#your regular array | |
myarray = [123, 221, 3, 16, 199, 0] | |
#convert that to 32 bit integers | |
tmp=numpy.array(myarray, numpy.int32) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment