df.Age.value_counts()
Output:Fail 2
Pass 2
Name: Age, dtype: int64
How to get count of each unique item in dataframe
|
|
Messages In This Thread |
How to get count of each unique item in dataframe - by SriMekala - Aug-03-2019, 06:01 PM
RE: How to get count of each unique item in dataframe - by scidam - Aug-04-2019, 12:18 AM
RE: How to get count of each unique item in dataframe - by SriMekala - Aug-04-2019, 09:05 AM
RE: How to get count of each unique item in dataframe - by perfringo - Aug-05-2019, 05:58 AM
RE: How to get count of each unique item in dataframe - by SriMekala - Aug-06-2019, 12:39 PM
RE: How to get count of each unique item in dataframe - by perfringo - Aug-06-2019, 02:10 PM
RE: How to get count of each unique item in dataframe - by chakrimakam - Aug-06-2019, 01:21 PM
RE: How to get count of each unique item in dataframe - by SriMekala - Aug-06-2019, 02:32 PM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
How to get first and last row index of each unique names in pandas dataframe | SriRajesh | 1 | 4,558 |
Oct-13-2018, 07:04 AM Last Post: perfringo |