DataSet File Format (DSFF)
Project description
DataSet File Format ![Tweet](https://pypi-camo.freetls.fastly.net/c69b1f52f0dbb9051e38e546f49232a5937f559c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54776565742d2d6c69676874677265793f6c6f676f3d74776974746572267374796c653d736f6369616c)
Store a dataset in XSLX-like format.
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
:sunglasses: 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
:star: Related Projects
You may also like these:
- Awesome Executable Packing: A curated list of awesome resources related to executable packing.
- Dataset of packed ELF files: Dataset of ELF samples packed with many different packers.
- Dataset of packed PE files: Dataset of PE samples packed with many different packers.
- Docker Packing Box: Docker image gathering packers and tools for making datasets of packed executables.
:clap: Supporters
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.3.tar.gz
(25.4 kB
view hashes)
Built Distribution
dsff-1.0.3-py3-none-any.whl
(35.7 kB
view hashes)