go-flat

command module
v0.1.1-0...-2fc5c40 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

README

Flat file data munger

This is an experiment

Sometimes awk, grep, and sed aren't available. For those times, flt is a simple tool for manipulating and reshaping flat files commonly used by data analysts and data scientists.

Examples

Take a specific set of rows

flt input.csv --skip 3 --nrows 100

Take a specific set of columns

flt input.csv --columns "ID,GEONAME,POPULATION"

Filter by a predicate

flt input.csv --predicate "GEONAME='British Columbia'"

Convert formats

flt input.csv --format json

flt input.csv --format libsvm --libsvm-label "AMBULANCE_CALLS"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL