Graph from pandas dataframe #1666
davidshumway
started this conversation in
Documentation
Replies: 1 comment
-
Not directly. But a pandas dataframe can be exported as csv and read back in with the RDFLib command-line tool cvs2rdf. If the data is in HDF5 format, pandas can export dataframes as HDF5 and there's an HDF5-to-RDF reader available. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does rdflib support loading a graph from a pandas dataframe. For example, networkx has this functionality, as described here: (https://networkx.org/documentation/networkx-1.10/reference/generated/networkx.convert_matrix.from_pandas_dataframe.html)
Beta Was this translation helpful? Give feedback.
All reactions