{"repo":"tobgu/qframe","free":true,"listed":false,"github":"https://github.com/tobgu/qframe","clone":"git clone https://github.com/tobgu/qframe.git","description":"Immutable data frame for Go","language":"Go","stars":414,"topics":["golang","go","data-science","data-frame","immutable","dataframe"],"license":"MIT","category":"dev-tools","readme_excerpt":"QFrame is an immutable data frame that support filtering, aggregation and data manipulation. Any operation on a QFrame results in a new QFrame, the original QFrame remains unchanged. This can be done fairly efficiently since much of the underlying data will be shared between the two frames. The design of QFrame has mainly been driven by the requirements from qocache but it is in many aspects a general purpose data frame. Any suggestions for added/improved functionality to support a wider scope is always of interest as long as they don't conflict with the requirements from qocache! See Contribute. Installation go get github.com/tobgu/qframe Usage Below are some examples of common use cases. The list is not exhaustive in any way. For a complete description of all operations including more examples see the docs. IO QFrames can currently be read from and written to CSV, record oriented JSON, and any SQL database supported by the go database/sql driver. CSV Data Read CSV data: Output: SQL Data QFrame supports reading and writing data from the standard library database/sql drivers. It has been tested with SQLite, Postgres, and MariaDB. SQLite Example Load data to and from an in-memory SQLite database. Note that this example requires you to have go-sqlite3 installed prior to running. Output: Filtering Filtering can be done either by applying individual filters to the QFrame or by combining filters using AND and OR. Filter with OR-clause: Output: Grouping and aggregation Grouping and","default_branch":null,"files":null,"tree":[],"storefront":"/r/tobgu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tobgu/qframe/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}