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

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -