I'm trying to set the value of a column in a pandas data frame to some big numbers with a simple line:
df['Capital'] = 58143898.13876611
and it shows in df as format 5.814380e+07. I want it as 58143898.
What I've tried:
df['Capital'] = int(58143898.13876611)
Similar question: How to print all digits of a large number in python?, but it's outdated because I learned from NameError: global name 'long' is not defined that long is replaced by int in python 3. But it still shows 5.814380e+07.
Yet if I only print the following line, it does show as 58143898.
In [2] int(58143898.13876611)
Out[2] 58143898
Please help! Thank you so much in advance :)