(expr).round(2) is repeated multiple times within this function. It might be a good idea to define an anonymous function to reduce code repetition.