Created
January 29, 2015 16:51
-
-
Save cfriedline/9b462b1f4696b2e6dcc3 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
data = np.zeros((rows, cols), dtype=np.int16) | |
index = 0 | |
for line in open("ms.txt"): | |
print "at %d/%d" % (index, rows) | |
if index > 0: | |
data[index] = line.split("\t") | |
index += 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment