I want to transfrom my DataFrame in which I have rows from 2 years and I want to compare two years dates values I have df like below.
Date