摘要: find index of top 3 largest values of each column: df1.apply(lambda s: pd.Series(s.nlargest(3).index)) map dataframe column df["ItemIdx"] = df["questi 阅读全文
posted @ 2019-11-01 10:57 SENTIMENT_SONNE 阅读(176) 评论(0) 推荐(0) 编辑