Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: get all algo function #12

Merged
merged 1 commit into from
Mar 1, 2023
Merged

feat: get all algo function #12

merged 1 commit into from
Mar 1, 2023

Conversation

wey-gu
Copy link
Owner

@wey-gu wey-gu commented Mar 1, 2023

example

from ngdi import NebulaReader

# read data with spark engine, scan mode
reader = NebulaReader(engine="spark")
reader.scan(edge="follow", props="degree")
df = reader.read()

df.algo.get_all_algo()

Result:

['pagerank',
 'connected_components',
 'label_propagation',
 'louvain',
 'k_core',
 'degree_statics',
 'betweenness_centrality',
 'coefficient_centrality',
 'bfs',
 'dfs',
 'hanp',
 'jaccard',
 'strong_connected_components',
 'triangle_count']

@wey-gu wey-gu merged commit 4022c11 into main Mar 1, 2023
@wey-gu wey-gu deleted the get_all_algo branch March 1, 2023 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant