0

I have a column which can have two type of data types varchar and float. Now since my float is a long number such as 10154346483399200, which becomes lately like 1.01543E+16 and the other entry could be like UPDATE-c1038-6036456184586739712. How to bring the 'E' data entries in their original form

so

In[3] a= ['1.01543E+16', 'UPDATE-c1038-6036456184586739712']

answer should be something like

['10154346483399200', 'UPDATE-c1038-6036456184586739712']

Applying just to solve suppressing Scientific Notation gives me an error

 df.apply(lambda x: '%.3f' % x)

TypeError: float argument required, not str

Every help will be appreciating

Manu Sharma
  • 1,593
  • 4
  • 25
  • 48

0 Answers0