krangl is a {K}otlin library for data w{rangl}ing. By implementing a grammar of data manipulation using a modern functional-style API, it allows to filter, transform, aggregate and reshape tabular data.

All Types

krangl.AggFun
krangl.AnyCol
(extensions in package krangl)
kotlin.Array
krangl.ArrayUtils
krangl.util.BenchmarkResult
(extensions in package krangl)
kotlin.BooleanArray
krangl.BooleanCol
krangl.ColNames
krangl.ColSpec
krangl.ColType

Methods to read and write tables into/from DataFrames see also https://commons.apache.org/proper/commons-csv/ for other implementations https://github.com/databricks/spark-csv https://examples.javacodegeeks.com/core-java/apache/commons/csv-commons/writeread-csv-files-with-apache-commons-csv-example/

krangl.ColumnFormula
krangl.ColumnSelector
krangl.ColumnTypeCastException
krangl.DataCol
krangl.DataFrame
krangl.DataFrameRow
krangl.DoubleCol
krangl.DuplicatedColumnNameException
krangl.ExpressionContext

A proxy on the df that exposes just parts of the DataFrame api that are relevant for table expressions

krangl.Factor
krangl.InplaceDataFrameBuilder
krangl.IntCol
krangl.InvalidColumnOperationException
krangl.InvalidColumnSelectException
krangl.InvalidSortingPredicateException
(extensions in package krangl)
kotlin.collections.Iterable
krangl.JoinType

DataFrame joining

krangl.experimental.KranglOneHot
(extensions in package krangl)
kotlin.collections.List
(extensions in package krangl.util)
kotlin.collections.List
krangl.LongCol
krangl.util.MicroBenchmark
krangl.MissingValueException

Thrown if an operation is applied to a column that contains missing values.

krangl.NonScalarValueException
krangl.NumberCol
krangl.RenameRule
(extensions in package krangl.util)
kotlin.sequences.Sequence
krangl.SleepPattern
krangl.SortExpression
krangl.SortingContext

A proxy on the df that exposes just parts of the DataFrame api that are relevant for sorting

(extensions in package krangl)
kotlin.String
krangl.StringCol
krangl.SumFormula
krangl.SumFuns

Common ggregation Functions to be used along `summarizeAt/If/All

krangl.SummarizeBuilder
krangl.TableContext
krangl.TableExpression
krangl.UnequalByHelpers
krangl.VectorizedRowPredicate