The round() function helps in rounding off decimals. By default, the values are rounded off to a whole number:
sales_df.round()
The following is the output:
The round function can be applied as shown here:
sales_df.round(decimals = 10)
The following is the output: