Feb-25-2018, 01:11 PM
Hi again
Try and change your second line:
The 'data' df might be immutable or something similar - I'm not good with the programming lingo.
Another time you could consider showing a subset of your df graphically.
Try and change your second line:
data.drop_duplicates(['CNTRNO'], keep='last')To:
data3 = data.drop_duplicates(['CNTRNO'], keep='last')And see how the new dataframe - a modified copy of 'data' behaves.
The 'data' df might be immutable or something similar - I'm not good with the programming lingo.
Another time you could consider showing a subset of your df graphically.