Skip to content

Instantly share code, notes, and snippets.

@missflash
Last active July 25, 2019 12:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save missflash/f7dc4640fb695217997a3766c6ef0223 to your computer and use it in GitHub Desktop.
Save missflash/f7dc4640fb695217997a3766c6ef0223 to your computer and use it in GitHub Desktop.
# Data Import Option
test_data = np.getfromtxt("data.csv", skip_header=1, usecols=[1, 2], missing_values="NA", delimiter=",")
# Remove NA rows
test_data = test_data[~np.isnan(test_data[:,1])]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment