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

Update moneyball tutorial #1052

Merged
merged 7 commits into from
Mar 16, 2022
Merged

Conversation

jbsooter
Copy link
Contributor

@jbsooter jbsooter commented Mar 9, 2022

Thanks for contributing.

Description

First time contributor here. I was evaluating Tablesaw + Smile for use in a java-based course, along the way I realized that the Moneyball tutorial syntax was out of date.

What was changed:
(1) Code snippets were updated to the newer/streamlined tablesaw syntax
(2) The section on adding the smile dependency was updated to include the gradle syntax, as well as a note on the need to have the tablesaw-core and tablesaw-jsplot dependancies with the relevant mvnrepository links.
(3) Added a link to baseball.csv, as it is already in the tablesaw repo and was difficult to get from the linked online course.
(4) Replaced " " in image URLs with %20 so that they would render without issue.

I have tested the updated tutorial thoroughly and verified the outputs vs the old version.

Testing

Did you add a unit test?

N/A

jbsooter added 7 commits March 9, 2022 11:12
The only reference to where the baseball.csv file is located is the online course. You have to sign up, etc in order to access that location. Seeing as the same file is in the tablesaw repo already, I provided a link in the tutorial for easy download.
Update to new tablesaw syntax.
Some tabs were inserted during copy/paste
Replace all blank space in url with safety character %20 to ensure images load properly.
Added links to tablesaw dependencies to make this a bit more beginner-friendly.
@lwhite1 lwhite1 merged commit 64a44c9 into jtablesaw:master Mar 16, 2022
@lwhite1
Copy link
Collaborator

lwhite1 commented Mar 16, 2022

Thanks very much, @jbsooter

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.

2 participants