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

Fix #1340 - Use generic from_edgelist() methods #1341

Merged
merged 3 commits into from
Jan 19, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions notebooks/link_analysis/Pagerank.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"Notebook Credits\n",
"* Original Authors: Bradley Rees and James Wyles\n",
"* Created: 08/13/2019\n",
"* Updated: 08/16/2020\n",
"* Updated: 01/17/2021\n",
"\n",
"RAPIDS Versions: 0.14 \n",
"\n",
Expand Down Expand Up @@ -190,7 +190,7 @@
"metadata": {},
"source": [
"### Read in the data - GPU\n",
"cuGraph depends on cuDF for data loading and the initial Dataframe creation\n",
"cuGraph graphs can be created from cuDF, dask_cuDF and Pandas dataframes\n",
"\n",
"The data file contains an edge list, which represents the connection of a vertex to another. The `source` to `destination` pairs is in what is known as Coordinate Format (COO). In this test case, the data is just two columns. However a third, `weight`, column is also possible"
]
Expand Down Expand Up @@ -219,8 +219,7 @@
"outputs": [],
"source": [
"# create a Graph using the source (src) and destination (dst) vertex pairs from the Dataframe \n",
"G = cugraph.Graph()\n",
"G.from_cudf_edgelist(gdf, source='src', destination='dst')"
"G = cugraph.from_edgelist(gdf, source='src', destination='dst')"
]
},
{
Expand Down