I've been searching around for a while now, but I can't seem to find the answer to this small problem.
I have some data, as follows
name address age total_money
joko china 56 4,5430012000007E+63
feni korea 35 3,6000016489732E+90
rani kamboja 54 1,470001179997E+133
and the data type each columns is:
name 3 non-null object
address 3 non-null object
age 3 non-null int64
total_money 3 non-null object
how to convert data type of total_money column to number/int because i want use the column for arithmetic operations
and I'm trying to convert data type
df = df.astype({'total_money': 'int64'})
but i get error:
OverflowError: int too big to convert
how to handle the problem?