I have a Series with Name as the index and a number in scientific notation such as 3.176154e+08. How can I convert this number to 317,615,384.61538464 with a thousands separator? I tried:
format(s, ',')
But it returns TypeError: non-empty format string passed to object.format There are no NaNs in the data.
Thanks for your help!