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

Release history Release notifications

Download files

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

Files for rdfpandas, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size rdfpandas-0.1.1-py2.py3-none-any.whl (3.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size rdfpandas-0.1.1-py3-none-any.whl (3.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size rdfpandas-0.1.1.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page