You cannot perform operations between a standard array and object datatype in python.
Python is awkward. Therefore, there is a python library called awkward
, it can easily convert object to arrays. This would make them compatible for the operation you want to perform.