0

i have a pandas dataframe which has floating values:

columnA
1.234567
8.901234

i want to round each of these values up to 2 decimal places.

i.e.

columnA
1.24
8.91

i've checked a handful of answers but using 'round' won't round up and using 'ceil' rounds to whole numbers.

any ideas how to accomplish this?

rhs
  • 17
  • 5

0 Answers0