pcrompton / baseballstats Goto Github PK
View Code? Open in Web Editor NEWParses baseball data
Parses baseball data
In FormatGames.py (seventh commit), class Game, function replaceColumn, line 66:
array = numpy.insert(array, [col], List, 1)
It seems that certain components of "List" are getting cut off in this step, messing everything else up. Run TestListsOfGames.py and choose function "players". Choose either of the lists and in several of the failures it should be apparent that the play description is cut off (the other issue causing failures has to do with players on the same team with the same last name, which I have not gotten around to fixing yet). I have test code currently commented out in replaceColumn which led me to line 66. My conclusion is that it must be a problem with the method numpy.insert.
Hi Aaron,
I'm starting to get the hang of how this works. I probably have a ridiculous amount of commits right now, but at least I know how to do it!
I revised the code in a few ways today.
I think the next part of my project is to clean up and revise what I have right now so that it's easy to work with. There are a few functions that may not belong here. What kind of suggestions might you have?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.