阅读背景:

应用group_by并对数据进行总结,同时保留所有列的信息

来源:互联网 

I have a large dataset with 22000 rows and 25 columns. I am trying to group my dataset based on one of the columns and take the min value of the other column based on the grouped dataset. However, the problem is that it only gives me two columns containing the grouped column and the column having the min value... but I need all the information of other columns related to the rows with the min values. Here is a simple example just to make it reproducible:I have a large dataset with 22000 rows and 25 c




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: