under ileads_address I'm trying to create a DF that only prints out all the rows that don't have 0.0. Is there anyway to code that?
I tried doing this
df5 = df4[~df4['ileads_address'] == 0]
CodePudding user response:
Try this
df4[df4['ileads_address'] != 0]