Skip to main content
Help us improve Python packaging – donate today!

Merge two arff files

Project Description

####mergearff


####Use Case

When you want to merge two arff files with Weka, it gives you 2 options as merging and appending. Appending uses for merging two arff files which have exactly same headers. And merging option uses for merging attributes for same instances. But sometimes we need append arff files and their headers. So imagine you have 2 arff files which have same attributes(but different headers) and different instances.

1.arff, 30 instances
----------------------------------
@relation 1.arff
..
@attribute weather {rainy, sunny}
..

2.arff, 40 instances
----------------------------------
..
@attribute weather {cloudly}
..


merged.arff, 70 instances
---------------------------------
..
@attribute weather {rainy, sunny, cloudly]
..


####Usage
$ mergearff [1.arff] [2.arff] [merged.arff]

####Installation
$ [sudo] pip install mergearff

Release history Release notifications

This version
History Node

1.1

History Node

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
mergearff-1.1.tar.gz (2.1 kB) Copy SHA256 hash SHA256 Source None May 23, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page