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
Recently I began working with larger files (3GB) derived from larger data tables and started getting this error when trying to import.
Failed to invoke procedure `apoc.import.graphml`: Caused by: java.lang.NumberFormatException: For input string: "nan"
Yes there are <data key=xxx > nan</data> entries in the graphml b/c it was derived from a table with NaN values. Is there a workaround? Note that the import will work if I replace all the nan with no character i.e. <data></data> but that seems an unecessary hack.
I'm am working on creating a small data set but my workflow is:
Import tabular data from postgres db
Create a graph using pandas and networkx (incl. creating a proper 'labels' as a node attribute)
From networkx export a .graphml
Import .graphml in to neo4j with command indicated at beginning
Screenshots
Versions
OS: Mac Pro M1 w/ Ventrua 13.3.1 (a)
Neo4j: 4.4.o (community)
Neo4j-Apoc: 4.4.0.1
The text was updated successfully, but these errors were encountered:
Hi, thank you writing in :) I will ticket this, however, we currently have APOC under maintenance mode so cannot say when this would be possible for us to put in, feel free to make a PR yourself for us to review if you want it done faster! Thanks
I have been using the following command to import
.graphml
files in to neo4jRecently I began working with larger files (3GB) derived from larger data tables and started getting this error when trying to import.
Yes there are
<data key=xxx > nan</data>
entries in the graphml b/c it was derived from a table with NaN values. Is there a workaround? Note that the import will work if I replace all thenan
with no character i.e.<data></data>
but that seems an unecessary hack.I'm am working on creating a small data set but my workflow is:
pandas
andnetworkx
(incl. creating a proper 'labels' as a node attribute).graphml
.graphml
in to neo4j with command indicated at beginningScreenshots
Versions
The text was updated successfully, but these errors were encountered: