Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad cleaning up of prices == 0 #3

Closed
msperlin opened this issue Jun 1, 2020 · 1 comment
Closed

Bad cleaning up of prices == 0 #3

msperlin opened this issue Jun 1, 2020 · 1 comment

Comments

@msperlin
Copy link
Owner

msperlin commented Jun 1, 2020

O código abaixo não está apagando as linhas com taxa 0%? Ao utilizar a função reparei que quando a taxa é 0%, como ocorre com as LFTs, essas linhas são excluídas na leitura dos arquivos xls.

clean up zero value prices

col.classes <- sapply(my.df, class)
col.classes <- col.classes[col.classes == 'numeric']
col.to.change <- names(col.classes)
idx <- apply((as.matrix(my.df[, col.to.change]) == 0 ),
MARGIN = 1, any)

@msperlin
Copy link
Owner Author

Fixed in ver 1.4.3

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

No branches or pull requests

1 participant