-
Notifications
You must be signed in to change notification settings - Fork 66
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
Documentation #10
Comments
@danielmcintosh1 is taking the lead on putting together this documentation. Hopefully we can launch shortly after refactor is complete. |
@danielmcintosh1 I have a couple of ipython notebooks I wrote in case you want to add them. |
@ppop that would be great. We are working on class/method/parameter guides to make collecting data easier currently. However, we'd love to have vinettes in ipython as well. |
I'll finish up sometime next week, I'm currently on holiday and the API changed a little bit with the refactoring so they need a little clean-up. |
Hey guys, when you use the command Any suggestions? |
So when I updated, I changed the API Try: That will get you the current season players. If you then call: playerList.SET_parameter(Season='2008-09') playerList will then contain the roster from 2008-09 If you want a list of a parameters you can set, call: playerList.get_parameters() That will return a dict of parameters you can set as well as their current Hope this helps! I'm working on a tutorial that explains this in slightly more detail in a
|
Okay great, thanks for the quick response. And the yyyy-yy format looks more like the format I was using when I built my own module to scrape off the nba stats. Additionally, I saw that you added an jupyter notebook explaining how to build a shot chart with py-goldsberry. I tried using seaborn a couple months ago like Savvas' tutorial and then ended up just using built in matplotlib functions as they look a little cleaner when graphed and are easier to work with. By the way, |
In the previous version, I had a hidden function that transformed yyyy into I started working on the visualization notebook but got sidetracked. I If you build any useful graphing functions you think would add value to the
|
Almost Try: players = pd.DataFrame(playerList.players()) Each class has at least 1 method that points to a specific table of data
|
Cool sorry found that in the code right after I posted it. |
You got it. Run it first to get current season. Then set the season I should probably add a flag to determine whether or not pull data upon I'll actually probably change the default behavior to not pull and it will
|
Hmm. And then one last thing is when attempting results in the traceback: -> is the line that the error is rooted in I'm not totally sure why it does this. |
That's a bug that needs fixed. Good catch
|
what a scam, please don't fall for this. |
Building out documentation for the package to ease use
The text was updated successfully, but these errors were encountered: