added a check so it doesn't barf on df['bob'] = 0 type of sets