-
Notifications
You must be signed in to change notification settings - Fork 304
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
Allow PropertyGraph default_edge_weight
to be used to add an edge weight value on extracted Graphs even when a weight property wasn't specified
#2071
Merged
rapids-bot
merged 10 commits into
rapidsai:branch-22.04
from
rlratzel:branch-22.04-propgraph_updates
Feb 15, 2022
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… wrapping in a class wrapper instead of a function (where the return type is no longer a class type, and isinstance() unexpectedly fails). Added tests.
…4-propgraph_updates
…hanged num_vertices property impl for better performance, added get_vertices(), allow a None type_name for add_*_data(), updated docstrings, changed the edge_data added to Graphs to be a DataFrame for efficiency, added tests and benchmarks, refactored and added test fixtures, updated pytest.ini for new benchmarks.
…4-propgraph_updates
…4-propgraph_updates
…4-propgraph_updates
… extracted Graphs even when a weight property wasn't specified.
rlratzel
added
improvement
Improvement / enhancement to an existing function
non-breaking
Non-breaking change
python
labels
Feb 14, 2022
BradReesWork
approved these changes
Feb 14, 2022
…e passed in and not column/series objects.
acostadon
approved these changes
Feb 14, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
didn't find any issues. I noticedthe column_name variable name change.
Yes, thanks, I changed that to make it more obvious that it's a name and not an obj. I'll update the PR description too. |
jnke2016
approved these changes
Feb 15, 2022
@gpucibot merge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Allows a Graph to be extracted with a default weight value even if an edge property for a weight is not specified.
This PR also changes the arg names that are intended to take column name strings to make it more obvious that strings are expected and not Column/Series objects.