Skip to content

Shani-Sinojiya/arff-format-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convert ARFF files to different formats.

PyPI - Version PyPI - Python Version PyPI - License PyPI - Downloads GitHub Sponsors GitHub pull requests GitHub last commit GitHub followers GitHub forks GitHub Repo stars

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! 🚀

Buy me a coffee ☕️

If you like my work, feel free to support it by buying me a coffee.

Buy Me A Coffee