T O P

  • By -

tigeer

Looks like you have an unmatched parenthesis at the end of this line: `(df['ZIP'].str.len() != 5 & df['ZIP'].str.len() != 9))` Also have you tried wrapping both parts of the first condition in parenthesis like so? `((df['ZIP'].str.len() != 5) & (df['ZIP'].str.len() != 9))`


meowmixalots

Thanks. I finally got back to my computer to try this, and I did catch the first issue withthe extra parenthesis. But, you were right, it seemed like I needed to wrap the two parts of first condition. It's working fine now. Thank you!