Create new column with a list of max frequency values for each row of a pandas dataframe

前端 未结 0 1174
感情败类
感情败类 2021-01-31 02:00

Given this Dataframe:

df2 = pd.DataFrame([[3,3,3,3,3,3,5,5,5,5],[2,2,2,2,8,8,8,8,6,6]], columns=list(\'ABCDEFGHIJ\'))

   A  B  C  D  E  F  G  H  I  J
0  3  3  3          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题