swcarpentry / python-novice-gapminder

Plotting and Programming in Python
http://swcarpentry.github.io/python-novice-gapminder/
Other
163 stars 428 forks source link

Remove premature function example #609

Closed ndporter closed 1 year ago

ndporter commented 1 year ago

Removes the example of a function in pandas that is given here before functions are taught (episode 16). At current, it would be confusing at best unless people happen to know def already.

This example could also be moved to the functions lesson instead, although applies are a fairly complex topic to introduce only in passing. They are quite valuable but should be given a more full discussion if we use them.

vahtras commented 1 year ago

Makes sense to me / Olav