Questions tagged [genfromtxt]

Numpy function to create arrays from tabular data.

References

287 questions
-3
votes
1 answer

Need help importing specific data (variable values) from a text file and ignoring non useful text and metadata

here is my attempted code though it may be rubbish and to the right is the data, i just want the two columns of data from line 15 onwards my code reads: import numpy as np import matplotlib as mplt data = np.genfromtxt('practice_data.txt', …
ateta96
  • 1
  • 1
1 2 3
19
20