Right, so you might need something like the .values.astype as done on the other inputs if the dataframe doesn’t support indexing. You can also test indexing each of the self member variables directly to see which one(s) are causing the issue.