开发者

Segmentation basis sum of a column called "Value"

There is a column called Value where in we need to find out the sum(over column Value) of all say 15ooo rows. Then we need to divide/segment 开发者_开发百科the complete data in 3 parts, that is if the sum is say 300 then each bucket should have 100 as total sum of column Value.

Also, first we need to arrainge the column in descending order.

I hope the question is clear.


Were going to need some additional detail.

As mentioned, it sounds like a bin packing problem. A great article is here, please let us know if it helps: link

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜