Read text file python Numpy -
i have txt file has xyz coordinates extracted kinect. xyz coordinates separated commas , there 12 columns. there around 1200 rows every movement make in front of kinect 30 frames added in 1 second.
is doubt on should use load it?
if so, load directly numpy can use numpy.loadtxt (https://docs.scipy.org/doc/numpy/reference/generated/numpy.loadtxt.html).
if want structure allow more flexible access , manipulation of data, should use pandas.read_table (http://pandas.pydata.org/pandas-docs/stable/generated/pandas.read_table.html).
after manipulation can convert pandas structure numpy.
Comments
Post a Comment