onozaty / csvt Goto Github PK
View Code? Open in Web Editor NEWcsvt is a command line tool for processing CSV.
License: MIT License
csvt is a command line tool for processing CSV.
License: MIT License
指定したカラムで一意になるように。
複数カラムも指定可能にするが、省略(全カラム)は許容しない。(でかいファイルだとメモリが足りなくなる)
先頭の数行を表示する。
テーブルレイアウトで表示できると良さそう。
複数のCSVファイルを結合する。
カラムは一致する必要あり。
指定した名前でカラムを追加する。
固定値を入れるか、別のカラムからコピーを行う。
csvt concat -1 INPUT1 -2 INPUT2 -o OUTPUT
csvt concat -i INPUT1 -i INPUT2 [-i INPUT3 ...] -o OUTPUT
csvt concat -i input1.csv -i input2.csv -i input3.csv -o output.csv
指定件数で分割する。
出力ファイル名はベースとなる名前を指定する形で。
開始行と終了行を指定して、一部の行を取り出します。
開始行を省略したら1行目、終了行を省略したら末尾の行となります。
splitと同じようなことも、このコマンドを繰り返し使えばできることになります。
カラム指定で、CSV1からCSV2にあるものを取り除いたCSVを作成する。
指定したカラムでソートする。
デフォルトは文字列。オプションで数字として。
カラム指定で、CSV1からCSV2にあるものに絞ったCSVを作成する。
GROUP BY + COUNT のイメージ。
サブコマンド名はgroup
aggregate
あたりか。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.