find similar records with multiple columns using pandas python

  pandas, python-3.x

I have 1 lak records in a dataframe

enter image description here

and want to find out different prices for the same product for same invoice and different invoice
along with store. data snippet of the data mentioned

expected output

enter image description here

Source: Python-3x Questions

LEAVE A COMMENT