I'm getting this error message as well. Would upgrading pandas in the IDE fix it? try-except workaround works, but not ideal. Looks like the pandas version in the IDE is 0.18.1, which is about 3 years old?
@Q Support team,
Could you advice please?
I'm using the below in 'rebalance' to remove any NaNs or Null values in my alpha-factor pandas series, but I still get this error message. Do you know why, or if there's a better way to do this? Why is it trying to convert to an integer anyway, when all other values are floats?? You don't reckon it's a bug in the Optimize API, rather than the pandas bug?
pipeline_data = pipeline_data[pd.notnull(pipeline_data)]