title: giving a unique code by seeing the first column string and the second column
body: <p>giving a  unique code by seeing the first column string and the second columns string and whenever the first column string change it starts from 1</p>
  <p>Example</p>
  <p><a href="https://i.stack.imgur.com/kZOYk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kZOYk.png" alt="enter image description here" /></a></p>
  <p>how can I do this using python?</p>