I have an dataset with multiclass and I want to get representative row for each class. For instance,
import pandas as pd df = pd.DataFrame({\'A\':[1,2,3,4,5,1,2,3