python - How to load columns from text file with numpy -
i have text file rows , each row has 3 floats separeted space. interested load 2nd , 3rd column. typed:
b=np.loadtxt('file.txt',delimiter=(' '),usecols=(1,2))
but getting error:
syntaxerror: non-keyword arg after keyword arg
Comments
Post a Comment