Git Product home page Git Product logo

csvset's Introduction

csvset

Used to perform set operations on csv files.

makefile

build

make build

install

Will also build prior to installing.

make install

uninstalling

make clean

flags

--input - List of csv.files (comma-seperated, locations based on current location) to be used in the program. They can then be used in the formula based on the order in which the were added, indexed from 0.

--output - Specifies the filename/path of the output. Will quietly overwrite an existing file if it has the same filename; Even with default filename. (output.csv)

--formula - Specifies the calculation to be performed.

operands

  • + - union
    • Returns all members in any set.
    • Can be chained.
  • * - intersection
    • Returns members that are in all sets only.
    • Can be chained.
  • - - set difference
    • Returns members of the first set that are not in any of the other sets.
    • Can be chained.
  • / - symmetric difference
    • Returns members that belong to one, and only one, set.
    • Can be chained.

nesting

There's no operation priority so only the one kind of operation can be performed at a given level of nesting; operation order has to be set explicitly using parantheses.

Example:

(1+2+3+(4/5/6))-7-0

full example

csvset --input a.csv,b.csv,c.csv --output test.csv --formula "(0+1+2)/(2-0)"

csvset's People

Contributors

ceeerik avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.