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 issue with InnerTemopralGraph implementation and impl load from p… #1543

Merged
merged 16 commits into from
Mar 27, 2024

Conversation

shivamka1
Copy link
Collaborator

@shivamka1 shivamka1 commented Mar 15, 2024

What changes were proposed in this pull request?

  • Confirm node_type is present in the pandas loader - both the static load_from_pandas function and the load_nodes_from_pandas class function
  • Add node_type_in_df to both pandas loaders
  • In add_node and add_edge properties are called 'properties' but in load_from_pandas these are called 'props' please update these to both be 'properties'
  • Add the current pandas loaders to the graph_with_deletions
  • Add a new load_edge_deletions_from_pandas function which takes ('time','src','dst','layer' and 'layer_in_df')

Why are the changes needed?

Impl missing APIs

Does this PR introduce any user-facing change? If yes is this documented?

Yes, added doc comments

How was this patch tested?

pytests

Issues

If this resolves any issues, please link to them here, the format is a KEYWORD followed by @_
KEYWORDS available are close, closes, closed, fix, fixes, fixed, resolve, resolves, resolved.
Please delete this text before creating your PR

Are there any further changes required?

no

@shivamka1 shivamka1 marked this pull request as ready for review March 18, 2024 16:24
@shivamka1 shivamka1 requested a review from miratepuffin March 18, 2024 16:38
Haaroon
Haaroon previously approved these changes Mar 22, 2024
@Haaroon Haaroon merged commit bedd611 into master Mar 27, 2024
13 checks passed
@Haaroon Haaroon deleted the features/gwd branch March 27, 2024 10:53
fabianmurariu pushed a commit that referenced this pull request May 21, 2024
#1543)

* fix issue with InnerTemopralGraph implementation and impl load from panda and other missing APIs for GraphwithDeletions

* props renamed to properties

* fmt

* add tests for layers_in_df being true for both graph and graphwithdeletions

* missing cols should fail early

* impl node_type_in_df for loaders, fix and impl tests

* impl load edge with deletions for graphwithdeletions

* fnmt

* fix tests

* fix tests

* fmt

* fix notebook

* add review changes

* fmt

* fix tests
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.

2 participants