I was averaging score files in pandas, which writes out 0 as 0.0 and noticed that we were getting different results based on whether the score column had 0 or 0.0 as value.
Not being fluent in perl I have no clue why this is important or if this is the correct way to do it, but replacing 0.0 with 0 solved the issue for us
Also the previous NA replacement appeared twice, I guess it'd be enough to just do this once ?
Hi @owenjm,
I was averaging score files in pandas, which writes out
0
as0.0
and noticed that we were getting different results based on whether the score column had 0 or 0.0 as value.Not being fluent in perl I have no clue why this is important or if this is the correct way to do it, but replacing
0.0
with0
solved the issue for usAlso the previous NA replacement appeared twice, I guess it'd be enough to just do this once ?