You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#2444)
closes#2421
Added `get_vertex_data()` and `get_edge_data()` to SG and MG PropertyGraph, and corresponding tests.
Prior to these methods, users had to either call `pG.annotate_dataframe()` to get properties for edges or access the internal debug dataframes directly via `pG._vertex_prop_dataframe` and `pG._edge_prop_dataframe`.
Users can now call `pG.get_vertex_data(vertex_ids, types, columns)` to get vertex properties for the vertices specified by `vertex_ids`, and 'types', with data for each column specified. All args are optional and default to "all" for each category. `pG.get_edge_data(edge_ids, types, columns)` works the same for edges. The return value for both is a dataframe.
Authors:
- Rick Ratzel (https://github.com/rlratzel)
Approvers:
- Vibhu Jawa (https://github.com/VibhuJawa)
- Alex Barghi (https://github.com/alexbarghi-nv)
- Erik Welch (https://github.com/eriknw)
- Brad Rees (https://github.com/BradReesWork)
URL: #2444
Describe the solution you'd like and any additional context
We should create an API for PropetyGraphs to get_edge_data and get_vertex_data
Requested API :
The text was updated successfully, but these errors were encountered: