how to group by function if one of the group has relationship with another one in the group?

Piet van Oostrum piet-l at vanoostrum.org
Tue Aug 1 17:24:53 EDT 2017


Ho Yeung Lee <jobmattcon at gmail.com> writes:

> which function should be used for this problem?
>
I think it is a kind if clustering, or a connectivity problem. There are special algorithms for that, not just a simple function. Maybe scikit-learn has a suitable algorithm for it.
-- 
Piet van Oostrum <piet-l at vanoostrum.org>
WWW: http://piet.vanoostrum.org/
PGP key: [8DAE142BE17999C4]



More information about the Python-list mailing list