5.1. Exercises

Writing Useful Comments

Given the code here:

candy = pd.read_csv('data/candybars.csv')
chocolate = pd.read_csv('data/chocolate_types.csv')

dessert = candy.merge(chocolate, how='inner').dropna()

Choosing Good Variable Names