How to calculate mean upto one digit after decimal

前端 未结 0 1977
情深已故
情深已故 2020-12-18 01:46

I want to calculate the mean of a column values of pandas dataframe. I simply used df[\'rating\'].mean() , it is showing 3.454564123135 . But i want result as just 1 digit a

相关标签:
回答
  • 消灭零回复
提交回复
热议问题