0

I have a column of a pandas dataframe with numbers and the / symbol as a whole string, for example:

['6/10','2/100','3.7/100'.....]

How could I transform that column to numeric?

  • You're looking to compute the value using '/' as division like this sample would become something like: `[0.6, 0.02, 0.037]`? Something like here: https://stackoverflow.com/q/55349133/15497888 or https://stackoverflow.com/q/55288248/15497888? – Henry Ecker Jan 18 '22 at 00:19

0 Answers0