Re: TypeError: loadtxt() got an unexpected keyword argument 'max_rows'

2019-09-03 Thread MRAB
ttransfile,skiprows=26,max_rows=1,usecols=[1]) TypeError: loadtxt() got an unexpected keyword argument 'max_rows' How could fix it? Don't do what the message says is the wrong thing to do. Really. In particular, don't pass 'max_rows=1'. To find out what *to* do, read the doc for the loadtx

Re: TypeError: loadtxt() got an unexpected keyword argument 'max_rows'

2019-09-03 Thread MRAB
usecols=[1]) TypeError: loadtxt() got an unexpected keyword argument 'max_rows' How could fix it? I attacched my files https://drive.google.com/file/d/1PgOcuEMFsaAuKTsbU0i0gwg04mDCJJoK/view?usp=sharing https://drive.google.com/file/d/13E7vcGQtrOS1lw9RupGThGQ2vSGRfTFG/view?usp=sharing https://drive.google.

Re: TypeError: loadtxt() got an unexpected keyword argument 'max_rows'

2019-09-03 Thread Terry Reedy
usecols=[1]) TypeError: loadtxt() got an unexpected keyword argument 'max_rows' How could fix it? Don't do what the message says is the wrong thing to do. Really. In particular, don't pass 'max_rows=1'. To find out what *to* do, read the doc for the loadtxt function. From 'skiprows' an

Re: TypeError: loadtxt() got an unexpected keyword argument 'max_rows'

2019-09-03 Thread Rhodri James
On 03/09/2019 17:02, alberto wrote: I have this error Traceback (most recent call last): File "PlotnhvsvdBTP1.py", line 31, in UCvol = np.loadtxt(outputtransfile,skiprows=26,max_rows=1,usecols=[1]) TypeError: loadtxt() got an unexpected keyword argument 'max_rows' How could fix it?

Re: TypeError: loadtxt() got an unexpected keyword argument 'max_rows'

2019-09-03 Thread Joel Goldstick
ol = np.loadtxt(outputtransfile,skiprows=26,max_rows=1,usecols=[1]) > TypeError: loadtxt() got an unexpected keyword argument 'max_rows' > > How could fix it? > > I attacched my files > > https://drive.google.com/file/d/1PgOcuEMFsaAuKTsbU0i0gwg04mDCJJoK/view?usp=sharing > htt

TypeError: loadtxt() got an unexpected keyword argument 'max_rows'

2019-09-03 Thread alberto
Hi, I produce a script to elaborate data but command line $ python3.4 PlotnhvsvdBTP1.py I have this error Traceback (most recent call last): File "PlotnhvsvdBTP1.py", line 31, in UCvol = np.loadtxt(outputtransfile,skiprows=26,max_rows=1,usecols=[1]) TypeError: loadtxt() got an