cugraph.experimental.PropertySelection#
- class cugraph.experimental.PropertySelection(*args, **kwargs)[source]#
Instances of this class are returned from the PropertyGraph.select_*() methods and can be used by the PropertyGraph.extract_subgraph() method to extract a Graph containing vertices and edges with only the selected properties.
- __init__(*args, **kwargs)[source]#
Create a PropertySelection out of one or two Series objects containing booleans representing whether or not a specific row in a PropertyGraph internal vertex DataFrame (vertex_selection_series) or edge DataFrame (edge_selection_series) is selected.
- Parameters:
- vertex_selection_seriescudf or pandas series, optional
Contains booleans representing selected vertices
- edge_selection_seriescudf or pandas series, optional
Contains booleans representing selected edges
Methods
__init__
(*args, **kwargs)Create a PropertySelection out of one or two Series objects containing booleans representing whether or not a specific row in a PropertyGraph internal vertex DataFrame (vertex_selection_series) or edge DataFrame (edge_selection_series) is selected.