Bruzzese Inskeep Nemera Submission for exercise 6#3
Open
bruzecruise wants to merge 24 commits into
Open
Conversation
# Conflicts: # exercise6.py
…ntro_Biocom_ND_319_Tutorial6 with conflicts.
I'm submitting!
lyy005
reviewed
Oct 12, 2017
| continue | ||
| elif guess == rand: | ||
| print("Correct!") | ||
| break No newline at end of file |
Author
|
Hey YY,
We didn't need to record the time of scoring- we were simply calculating
the running score as each team scored. We then appended the running total
scores as a new column in the original data frame that already had the
time.
Dan
…On Thu, Oct 12, 2017 at 11:41 AM, YY ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In exercise6.py
<#3 (comment)>
:
> + if i == 0:
+ bball2.loc[uw_list[i], "totalscore"] = bball2.score.loc[uw_list[i]]
+ else:
+ bball2.loc[uw_list[i], "totalscore"] =bball2.totalscore.loc[uw_list[i-1]] + bball2.score.loc[uw_list[i]]
+
+
+#add total score msu
+
+for i in range(len(msu_list)):
+ if i == 0:
+ bball2.loc[msu_list[i], "totalscore"] = bball2.score.loc[msu_list[i]]
+ else:
+ bball2.loc[msu_list[i], "totalscore"] = bball2.totalscore.loc[msu_list[i - 1]] + bball2.score.loc[msu_list[i]]
+
+print (bball2)
+
How does the script record the time of each scoring?
-0.25 points
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AeTJApsQONpHMPQYN5fgMSp_wc-Mga18ks5srjM1gaJpZM4PuFRA>
.
|
Owner
|
Ahh, I got you. Your answer is correct YY |
lyy005
reviewed
Oct 12, 2017
| + theme_classic() | ||
| ) | ||
| print p | ||
|
|
Author
|
Thanks!
:)
…On Thu, Oct 12, 2017 at 1:46 PM, YY ***@***.***> wrote:
Ahh, I got you. Your answer is correct
YY
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AeTJAmvAI-UeL5I2yoqUNkDJxblDtM1cks5srlBogaJpZM4PuFRA>
.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bruzzese Inskeep Nemera Submission for exercise 6