Getting an input error when setting data to out of sample data

The original error says you trying to set data that is float64 when the original mutabledata was float32. Just make sure the original data is float64 or the new one is float32.

If the original data was supposed to be integer make sure it is so as well. You can always explicitly cast with numpy.asarray(x).astype(...)

1 Like