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

rest - Spring boot: Request method 'PUT' not supported -

php - Magento - Deleted Base url key -

symfony - imagine_filter() not generating the correct url in LiipImagineBundle -