Skip to main content

Pandas Tutorial

This functionality requires an experimental pandas plugin. Read More

Frictionless supports reading and writing Pandas dataframes.

CLI
pip install frictionless[pandas]

Reading Data#

You can read a Pandas dataframe:

Python
from frictionless import Package
resource = Resource(df)
pprint(resource.read_rows())

Writing Data#

[NOTE] Timezone information is ignored for datetime and time types.

You can write a dataset to Pandas:

from frictionless import Resource
resource = Resource('data/table.csv')
df = resource.to_pandas()

Configuring Data#

There are no options available in PandasDialect.

References:

Last updated on by roll