I have put it in simple way so that it\'s easier for you to understand:
df = dataframe
**First, here the requirement is that X column at the d