How can I exclude rows from my df where when rounded value to 2 decimals of column Legs is = to wings column value?
import pandas as pd
d = {'legs': [2.051, 4.07, 8.298, 0.234],'wings': [2.05, 4.179,8.903,0.294],'seen': ['five', 'one', 'two', 'four']}
df = pd.DataFrame(data=d)
print(df)
in this case, it should drop first row ,when rounding column legs 2.05 its equal to 2.05 on column Wings.