SyntaxFix
Write A Post
Hire A Developer
Questions
Not Obvious, But Fast
f, u = pd.factorize(df.name.values) counts = np.bincount(f) u[counts == counts.max()] array(['alex', 'helen'], dtype=object)