Skip to content

Instantly share code, notes, and snippets.

@llSourcell
Created November 16, 2016 18:20
Show Gist options
  • Select an option

  • Save llSourcell/e2757f9bee5902c8056d65b7195081ca to your computer and use it in GitHub Desktop.

Select an option

Save llSourcell/e2757f9bee5902c8056d65b7195081ca to your computer and use it in GitHub Desktop.
sh-3.2# python pipeline.py
Traceback (most recent call last):
File "pipeline.py", line 10, in <module>
features = np.delete(tpot_data.view(np.float64).reshape(tpot_data.size, -1), tpot_data.dtype.names.index('class'), axis=1)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/records.py", line 498, in view
return self.__array__().view(dtype)
ValueError: new type not compatible with array.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment