0

I have a dataframe constituted of three variables : document_id, topic and gamma

there are several rows for each document.

I want to create a new data frame with only one row per document keeping the row with the highest gamma value.

How can I do that ?

Thank you for your help

0 Answers0