Add code to look at the head from true_copy_surveys_df#464
Merged
tobyhodges merged 2 commits intodatacarpentry:gh-pagesfrom Apr 4, 2023
Merged
Add code to look at the head from true_copy_surveys_df#464tobyhodges merged 2 commits intodatacarpentry:gh-pagesfrom
tobyhodges merged 2 commits intodatacarpentry:gh-pagesfrom
Conversation
…erstanding of what a copy is
maxim-belkin
suggested changes
Jun 16, 2020
Contributor
maxim-belkin
left a comment
There was a problem hiding this comment.
Thank you for your contribution, Richard! 🏅
All changes look very reasonable. Only one request to break down the long line.
| refer to the same exact DataFrame object. If either one changes the object, | ||
| the other will see the same changes to the reference object. | ||
|
|
||
| However - `true_copy_surveys_df` was created via the `copy()` function. It retains the original values for the first three rows. |
Contributor
There was a problem hiding this comment.
Could you please break this line so that it's less than 100 characters long? I suggest breaking after the period.
maxim-belkin
added a commit
that referenced
this pull request
Jun 23, 2020
Member
|
I'm helping the current lesson Maintainers process outstanding pull requests on this repository, in preparation for transition to the new lesson infrastructure. Thank you for contributing, @ricdea. I have gone ahead and broken up the long line as requested by Maxim above, and will now merge this PR. |
zkamvar
pushed a commit
that referenced
this pull request
May 8, 2023
Add code to look at the head from true_copy_surveys_df
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.
Added a few lines to look at the head from the copied data frame.
This ensures students see that the copy has not changed.
Otherwise the object is created but not used.