I would like to check how may we use the simple basic round() function to round values in a pandas dataframe to a specific number of decimal points. I kept playing around but I couldn't get it right and I am very new to Python so am not looking for anything too sophisticated.
I understand if you use round(3.986, 2) it will simply output to 2 d.p. as 3.99.
And I know we may access the df values through df.values.
I tried exploring the df.applymap() function too.
Help !