I’m thinking of adding a new feature in response to the issue no. #19039.
The feature is basically a function to check whether the data type of both the numpy arrays are same or not.
If the numpy arrays have different data types function return a False else it returns a True.
Please consider my feature and reply appropriately so that I can send my PR accordingly.
Waiting to see a prompt reply.