How can I use py2neo to store a dictionary as one property value to single property key of a node in neo4j?
问题 I have a node and I want to add one property property_x whose value I want to be {"year1":value, "year2":value} . Making more than one node for each year is not needed as I need these values in my processing together. 回答1: Neo4j only supports certain kinds of properties (docs): ...there are restrictions as to what types of values can be used as property values. Allowed value types are as follows: Numbers: Both integer values, with capacity as Java’s Long type, and floating points, with