git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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 <module>
UCvol = 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
https://drive.google.com/file/d/13E7vcGQtrOS1lw9RupGThGQ2vSGRfTFG/view?usp=sharing
https://drive.google.com/file/d/1Z6GKYtHthAyPO3wFHUFK10QweRpclu29/view?usp=sharing

regard

Alberto