public
anonymous / gist:4280768
Created

error received

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
>>> run data_pull.py
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/IPython/utils/py3compat.py in execfile(fname, *where)
173 else:
174 filename = fname
--> 175 __builtin__.execfile(filename, *where)
 
/Users/slink/Dropbox/MIST/no_flow_testing/data_pull.py in <module>()
13 data = np.genfromtxt(files[1], skip_header=22,\
14 names=col_headers,\
---> 15 converters={"Time": convertfunc})
16 #usecols=range(0,6),
 
17
 
/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/numpy/lib/npyio.py in genfromtxt(fname, dtype, comments, delimiter, skiprows, skip_header, skip_footer, converters, missing, missing_values, filling_values, usecols, names, excludelist, deletechars, replace_space, autostrip, case_sensitive, defaultfmt, unpack, usemask, loose, invalid_raise)
1632 output = np.array(data, dtype=dtype)
1633 else:
-> 1634 rows = np.array(data, dtype=[('', _) for _ in dtype_flat])
1635 output = rows.view(dtype)
1636 # Now, process the rowmasks the same way
 
 
TypeError: float() argument must be a string or a number

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.