Comments (6)
Hi, I removed the conversion to int completely, hopefully this helps and doesnt break anything
from nbar.
Hello,
Thank you for your feedback! I will have a look
from nbar.
Version 2.1.2 should fix the problem
from nbar.
Version 2.1.2 should fix the problem
Version 2.1.2 hasn't fixed the problem.
The problem seems to be when you use:
mutate_at(vars(- matches('_pct|spd|dist|_frequency|pie|per|_freq|_rating')), c_to_int)
the c_to_int function converts all these to an integer so a frequency of 0.04 gets converted to 0.
I don't get why c_to_int is needed at all??
Why do you need to convert numerics to integers can't we just leave them as numeric?
p.s. just recently stumbled upon the package and love your work, couldn't find a good scraper elsewhere and this package does everything I was looking for. Hoping by commenting I can contribute to it in someway!
from nbar.
Hi, thanks for the feedback
originally with c_to_int I wanted to convert ID-like columns to integers (player_id, game_id, etc.) from floats
let me have a look again at it
from nbar.
Someone just opened up an issue with the same problem hahah
I think I would just specify the ID columns to be integers and let all the other columns be numeric unless there's a good reason not to I suppose.
Especially since the default is per-game numbers which in general are always going to be a decimal therefore converting to integer will cause a loss of information.
from nbar.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nbar.