Skip to main content

RDF support for Pandas

Project description

RdfPandas is a module providing RDF support for Pandas. It consists initially of a simple function for graph conversion to create RDFLib Graph data from Pandas DataFrame.

The graph data can then be serialized using RDFLib serialize method on the graph.

Getting Started

For more information about Resource Description Framework (RDF) and Pandas see:


You will need Python 3 to use Pandas and RdfPandas.


pip install rdfpandas


Getting RDF out of the DataFrame

import rdfpandas as pd
import rdflib

df = pd.DataFrame()
g = to_graph(df)
s = g.serialize(format='turtle')

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rdfpandas-0.1.1.tar.gz (2.5 kB view hashes)

Uploaded source

Built Distributions

rdfpandas-0.1.1-py3-none-any.whl (3.4 kB view hashes)

Uploaded py3

rdfpandas-0.1.1-py2.py3-none-any.whl (3.4 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page