NodeGroupBy
networkframe.NodeGroupBy(frame, source_groupby, target_groupby, by, induced=False)
¶
A class for grouping a NetworkFrame
by a set of labels.
Groupby on nodes.
PARAMETER | DESCRIPTION |
---|---|
frame |
description
|
source_groupby |
description
|
target_groupby |
description
|
induced |
description
TYPE:
|
has_source_groups
property
¶
Whether the frame has row groups.
has_target_groups
property
¶
Whether the frame has column groups.
source_groups
property
¶
Return the row groups.
target_groups
property
¶
Return the column groups.
__iter__()
¶
Iterate over the groups.
__len__()
¶
Return the number of groups.