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.6.tar.gz (183.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dsff-1.0.6.tar.gz
  • Upload date:
  • Size: 183.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for dsff-1.0.6.tar.gz
Algorithm Hash digest
SHA256 bba7273a5a1eb9078b3f92d6face4a7f7230b60234a51b17b0ef721dc2ab7e03
MD5 2c8067d182bc10e6a1945a66c34bdf63
BLAKE2b-256 bc40a7dbb36e5f09de6b31bca4fbd489a0579a8edc8fda696aa6e245e28eed2c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dsff-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 afed0999559da7e3f4f8d70db931b2e990afe0f8298cbe09c797425f7ec04293
MD5 eab7199b9cc130f5d5713f153b8d5ca5
BLAKE2b-256 bbd12b7611897ad0521439a0a4ae3fcbfd93bb80c9724eb78a1050b2be102260

See more details on using hashes here.

Supported by

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