Skip to content

Instantly share code, notes, and snippets.

@okdolly-001
Last active March 17, 2018 10:19
Show Gist options
  • Save okdolly-001/a485609bb74e2fd4f025f25717b6a869 to your computer and use it in GitHub Desktop.
Save okdolly-001/a485609bb74e2fd4f025f25717b6a869 to your computer and use it in GitHub Desktop.
load #np
# and save to csv
train = np.load('ecs171train.npy')
test = np.load('ecs171train.npy')
#Use atom and terminal to load the whole dataset if it's over 200+MB
train = train[:51000]
test = test[:51000]
np.savetxt('test.csv', test, fmt='%s')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment