Skip to content

Replace 0.0 with 0#2

Open
mvdbeek wants to merge 1 commit intoowenjm:masterfrom
bardin-lab:fix_score_float
Open

Replace 0.0 with 0#2
mvdbeek wants to merge 1 commit intoowenjm:masterfrom
bardin-lab:fix_score_float

Conversation

@mvdbeek
Copy link
Copy Markdown

@mvdbeek mvdbeek commented Jun 14, 2018

Hi @owenjm,

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 ?

Not being fluent in perl I have no clue why this is important or if this
is the correct way to do it, but this seems to be necessary when the
score column has 0.0 values instead of 0.

Also the previous NA replacemnt appeared twice, I guess it'd be enough
to ust do this once ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant