[Numpy-discussion] loadtxt

Nils Wagner nwagner@iam.uni-stuttgart...
Thu Oct 2 02:48:24 CDT 2008


Hi all,

how can I load ASCII data if the file contains characters 
instead of floats

Traceback (most recent call last):
   File "test_csv.py", line 2, in <module>
     A = loadtxt('ca6_sets.csv',dtype=char ,delimiter=';')
NameError: name 'char' is not defined
  
Nils


More information about the Numpy-discussion mailing list