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
精彩评论