Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-b-miller committed Nov 7, 2023
1 parent 4492519 commit 4ea6806
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1286,9 +1286,13 @@ def nodes(self):
else:
return df[df.columns[0]]
else:
return cudf.concat(
[df[simpleGraphImpl.srcCol], df[simpleGraphImpl.dstCol]]
).drop_duplicates().reset_index(drop=True)
return (
cudf.concat(
[df[simpleGraphImpl.srcCol], df[simpleGraphImpl.dstCol]]
)
.drop_duplicates()
.reset_index(drop=True)
)
if self.adjlist is not None:
return cudf.Series(np.arange(0, self.number_of_nodes()))

Expand Down

0 comments on commit 4ea6806

Please sign in to comment.