Skip to main content

DataSet File Format (DSFF)

Project description

DataSet File Format Tweet

Store a dataset in XSLX-like format.

PyPi Read The Docs Build Status Coverage Status Python Versions Known Vulnerabilities License

This library contains code for handling the DataSet File Format (DSFF) based on the XSLX format and for converting it to ARFF (for use with the Weka framework), CSV or a FilelessDataset structure (from the Packing Box).

pip install --user dsff

Usage

Creating a DSFF from a FilelessDataset

>>> import dsff
>>> with dsff.DSFF() as f:
    f.write("/path/to/my-dataset")  # folder of a FilelessDataset (containing data.csv, features.json and metadata.json)
    f.to_arff()                     # creates ./my-dataset.arff
    f.to_csv()                      # creates ./my-dataset.csv
# while leaving the context, ./my-dataset.dsff is created

Creating a FilelessDataset from a DSFF

>>> import dsff
>>> with dsff.DSFF("/path/to/my-dataset.dsff") as f:
    f.to_dataset()  # creates ./[dsff-title] with data.csv, features.json and metadata.json

Related Projects

You may also like these:

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

dsff-1.0.7.tar.gz (179.3 kB view details)

Uploaded Source

Built Distribution

dsff-1.0.7-py3-none-any.whl (36.1 kB view details)

Uploaded Python 3

File details

Details for the file dsff-1.0.7.tar.gz.

File metadata

  • Download URL: dsff-1.0.7.tar.gz
  • Upload date:
  • Size: 179.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for dsff-1.0.7.tar.gz
Algorithm Hash digest
SHA256 6298289a56af493d83cfb8d843420aa7c8feb5c082bcf52707c5d527da0ddd06
MD5 d20b40bb665d5b620e9801b78879440a
BLAKE2b-256 3ac0add6435c6a5e2b39754555bf8a7d23391f18887930621f27427c77ce0861

See more details on using hashes here.

File details

Details for the file dsff-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: dsff-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 36.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for dsff-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d8bf177b65c54ebed140f18ec2b98826471c5b2158a7a0a54c32136c9768460e
MD5 2118174b22ada6a6e93341f6aafdf599
BLAKE2b-256 93432bf0be63a5fca4d8181d28c399ab642933228085f6cbf1ed085127b926e3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page