The arff-format-converter
tool allows you to convert ARFF files to various output formats. Below are the details:
pip install arff-format-converter
arff-format-converter -f <file> -o <output_folder> -fmt <output_format>
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
-f, --file
Path to the ARFF file.-o, --output
Path to the output folder.-fmt, --format
Output format: 'xml', 'json', 'csv', 'xlsx', 'orc'.
- ARFF (input)
- XML (output)
- JSON (output)
- CSV (output)
- XLSX (output)
- ORC (Apache ORC format) (output)
Written by Shani Sinojiya.
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! 🚀
If you like my work, feel free to support it by buying me a coffee.