Is there an easy way to round df values but exclude a given row based on name?
This is how I am rounding the values in my df:
#multiply value by 100 then round
df = df.applymap(lambda x: int(round(x*100)))
However, I want to exclude "Mean" from the rounding. The position/index of "Mean" is unknown, it is not fixed. Number of rows in the df are also unknown.
Below, I have shown how the df looks like "before", how it looks like "after" I apply my code and what I would like the df to look like "desired".