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.

enter image description here

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

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -