I have dataset as below:
import pandas as pd df = pd.DataFrame({ \'ID\': [\'27459\', \'27459\', \'27459\', \'27459\', \'27459\', \'27459\', \'27459