Convert ARFF files to different formats.
The arff-format-converter
tool allows you to convert ARFF files to various output formats. Below are the details:
INSTALL
pip install arff-format-converter
SYNOPSIS
arff-format-converter -f <file> -o <output_folder> -fmt <output_format>
EXAMPLES
arff-format-converter -f data.arff -o output -fmt json
arff-format-converter -f data.arff -o output -fmt xml
arff-format-converter -f data.arff -o output -fmt csv
arff-format-converter -f data.arff -o output -fmt xlsx
arff-format-converter -f data.arff -o output -fmt orc
OPTIONS
-f, --file
Path to the ARFF file.-o, --output
Path to the output folder.-fmt, --format
Output format: 'xml', 'json', 'csv', 'xlsx', 'orc'.
SUPPORTED FORMATS
- ARFF (input)
- XML (output)
- JSON (output)
- CSV (output)
- XLSX (output)
- ORC (Apache ORC format) (output)
AUTHOR
Written by Shani Sinojiya.
REPORTING BUGS:
Report bugs to issue section
Remember to replace "data.arff"
with the actual path to your ARFF file and "output"
with the desired output folder. Feel free to adapt this code snippet for other formats like XML, CSV, XLSX, or ORC as needed! 🚀