my assignment

Overall, this is a good use of pandas, though it's also good to practice using base Python (especially list comprehensions) to tackle these tasks.