I am trying to remove duplicates from data-frame but first entry should not be removed . excluding first record rest all other duplicates should get stored in one separate data-frame .
for e.g if data-frame is like :
col1,col2,col3,col4
r,t,s,t
a,b,c,d
b,m,c,d
a,b,c,d
a,b,c,d
g,n,d,f
e,f,g,h
t,y,u,o
e,f,g,h
e,f,g,h
in such case I should have two data-frames .
df1:
r,t,s,t
a,b,c,d
b,m,c,d
g,n,d,f
e,f,g,h
t,y,u,o
and other data-frame should be :
a,b,c,d
a,b,c,d
e,f,g,h
e,f,g,h