Comments (7)
Thanks @FlorentinD, the logic you referred to makes sense to me and it works fine.
from graph-data-science-client.
@Hossein-Tohidi , thank you for reporting this issue.
I could further see, that it only occurs with the Arrow endpoint.
As an intermediate workaround, you could initialize the client with arrow=False
.
You can track the progress at #564
from graph-data-science-client.
Thanks for the reply @FlorentinD. it is working fine with arrow=False and adding listNodeLabels=True option inside gds.graph.nodeProperties.stream function.
from graph-data-science-client.
I just realized that it is not working with separate_property_columns=True, option!
from graph-data-science-client.
Looking through your edits, it works if you specify listNodeLabels=True
as well?
As the default is False
, it makes sense this column is only present if you set it explicitly (see https://neo4j.com/docs/graph-data-science/current/management-ops/graph-reads/graph-stream-nodes/).
from graph-data-science-client.
Thanks again for your reply.
The following code, I expect to return the nodeLabels as well but it does not (it should be part of the column we pivot on that to get a wide table from a long table, I guess).
print(gds.graph.nodeProperties.stream(G, ["twl",'twu'],listNodeLabels=True, separate_property_columns=True))
# nodeId twl twu
#0 0 0.0 7.0
#1 1 0.0 20.0
#2 2 0.0 20.0
from graph-data-science-client.
Thanks for this find as well. We definitely missed out on tests for this feature on the client side :/
The PR is ready for review now with this fix as well.
The actual workaround for now it to not use arrow=False
+ separate_property_columns=True
and widen the result yourself.
You can find the logic for this here.
Maybe you even have an idea for a better version?
from graph-data-science-client.
Related Issues (19)
- Algorithms Not Referenced in Python Client HOT 3
- I tried the example demo but failed.. HOT 3
- streamNodeProperty() doesn't work with gds.run_cypher() as I guess HOT 27
- gds.degree.stream not respecting orientation? HOT 4
- ModuleNotFoundError: No module named 'gdsclient.algo' HOT 2
- Set target database within initial constructor call HOT 3
- Relationship Orientation during graph construction with dataframes HOT 3
- GraphSAGE doesn't train with differing node properties
- Add convenience methods over train_result from `pipeline.train()` HOT 1
- Add more jupyter notebooks HOT 4
- Return query results as pandas dataframe HOT 3
- Collaborate on a GDS + DGL pipeline? HOT 1
- GDS project.cypher progressbar only takes node loading into account? HOT 2
- Neo.ClientError.Procedure.ProcedureCallFailed when constructing a GDS graph object from DataFrame HOT 5
- issue when running the example kge-predict-transe-pyg-train.ipynb HOT 3
- Security Vulnerability HOT 2
- uri keyword parameter missing HOT 3
- Test
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graph-data-science-client.