Compare_DF in R truncating trailing zero

梦想与她 提交于 2019-12-11 16:58:37

问题


I have two dataframes:

df1

score id
59.09  1
65.27  2
65.05  3
60.15  4
65.30  5
65.61  6
59.21  7
59.70  8

And the other dataframe

df2

score  id
59.10  1
65.27  2
65.05  3
60.15  4
65.30  5
65.62  6
59.21  7
59.70  8

Now when I use compare_df and output it dropped the trailing 0 in df2score` 59.10.

I need this trailing zero to be always displayed.

I have a contraint to use compareDF only.

来源:https://stackoverflow.com/questions/54880218/compare-df-in-r-truncating-trailing-zero

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!