Question: Python-Pandas-dataframe I have a dataframe df which contain the attribute for user-ID. There is a duplicate user_ID. For ex consider my data is: df['user_ID']=[100, 200,300,400,100,500,600,700,800]

Python-Pandas-dataframe

I have a dataframe df which contain the attribute for user-ID. There is a duplicate user_ID. For ex consider my data is: df['user_ID']=[100, 200,300,400,100,500,600,700,800] How can I show 100 (the value of duplicate user_ID) And how to show the row information for the duplicate user_ID?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!