You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What do you think of not teaching apply and lambda at all? It might sound radical at first, but I don't think we need to use these anywhere in dsci 100. The examples we have there right now are better done in other ways, and after spending the last hour trying to come up with better examples, I think all use cases where apply and lambda are justified are too advanced for dsci 100 (and honestly maybe also for MDS based on how I see students often use it). This would cut down the material and reduce complexity at seemingly no/little cost from what I can tell. I can make a PR of what this would look like in all the chapters (we rarely use them already so there would not be that many changes), unless you think it is too preposterous of a suggestion =)
Trevor mentioned this is not the most important thing to do right now so I will hold off with it.
Edit: Also note that the way we suggest to use apply makes the syntax more complicated. E.g
Copied from slack:
Trevor mentioned this is not the most important thing to do right now so I will hold off with it.
Edit: Also note that the way we suggest to use apply makes the syntax more complicated. E.g
instead of just
and
apply(max, axis=1
instead of.max(axis='index')
The text was updated successfully, but these errors were encountered: