tpot

Cannot import pandas: ImportError: cannot import name 'ops'

馋奶兔 提交于 2021-01-29 19:29:11
问题 I am not able to import pandas in the conda environment py35 in a virtual machine. I get this error in the notebook, I started getting this error after I conda force installed tpot package. After I conda force installed tpot , I conda force installed pandas again since I was getting another attribute error: AttributeError: module 'pandas' has no attribute 'core' and since then I've been getting this error when I try to import pandas . <ipython-input-1-7dd3504c366f> in <module>() ----> 1

Categorical Data with tpot

寵の児 提交于 2019-12-07 08:53:54
问题 I'm trying to use tpot with my inputs in pandas dataframes. I keep getting the error: TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' I believe this error is from isnan not being able to handle my data structure, but I'm unsure how to format it differently. I have a combination of categorical and continuous inputs and continuous outputs. Here's an example of code with similar