-
Notifications
You must be signed in to change notification settings - Fork 15
Handling assign, apply, and lambdas #301
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
Conversation
0720833
to
72274e9
Compare
72274e9
to
10b0f34
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Big 🚀 for this PR! I'm happy to see this change in the book and thinks it will be helpful for students as it is more intuitive now in my opinion. I have some comments, but nothing major (except for some last remaining apply instances), so feel free to take an leave what you want.
Co-authored-by: Joel Ostblom <[email protected]>
Co-authored-by: Joel Ostblom <[email protected]>
Co-authored-by: Joel Ostblom <[email protected]>
Co-authored-by: Joel Ostblom <[email protected]>
Co-authored-by: Joel Ostblom <[email protected]>
Co-authored-by: Joel Ostblom <[email protected]>
Co-authored-by: Joel Ostblom <[email protected]>
Co-authored-by: Joel Ostblom <[email protected]>
Co-authored-by: Joel Ostblom <[email protected]>
Co-authored-by: Joel Ostblom <[email protected]>
Co-authored-by: Joel Ostblom <[email protected]>
Co-authored-by: Joel Ostblom <[email protected]>
Co-authored-by: Joel Ostblom <[email protected]>
Co-authored-by: Joel Ostblom <[email protected]>
Co-authored-by: Joel Ostblom <[email protected]>
Co-authored-by: Joel Ostblom <[email protected]>
assign
everywhere except in inference, where it is needed inside the list comprehension. I kept the introduction toassign
in chapter 3, but shortened it and de-emphasized it compared with column assignment.apply
andlambda
completely #100 -- lambdas and apply are now removed, as they didn't appear anywhere else in the book. I did still keep the section on applying transformations / row-wise operations, because I think it's still very useful material to see. I just usedpandas
's pre-baked methods, with anote
box for theapply
method.possibly add mutation to ch1turns out this was already done previously (...in fact I think it was me that did it...)