How to fix TypeError: Cannot cast array data from dtype('float64') to dtype('int64') in Python | DevErrors