i have df like this
A B
0 1 ABC
1 2 XYX
2 1 RTC
3 3 fds
4 2 rtv
5 4 rtoc
and i want like this
A B message
0 1 ABC
1 2 XYX
2 1 RTC Duplicated
3 3 fds
4 2 rtv Duplicated
5 4 rtoc
if Column A value is duplicated then set the message duplicated in second occurrence.