79483682

Date: 2025-03-04 12:22:07
Score: 0.5
Natty:
Report link

Define a formatter that takes a list and prints it the way you want it. Then apply it to the dataframe:

formatter = lambda l: ', '.join('{:0.2f}'.format(i) for i in l)
df.style.format(formatter)

Should print out what you want:

    Values
0   0.12, 0.00, 0.00
1   0.00, 0.00, 0.00
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: jalopezp