diff --git a/docs/src/lib/types.md b/docs/src/lib/types.md index 5073229c05..7d6ed23d5b 100644 --- a/docs/src/lib/types.md +++ b/docs/src/lib/types.md @@ -28,7 +28,7 @@ It is intended to be created as a result of a call to the `groupby` function. `DataFrameRow` is a view into a single row of an `AbstractDataFrame`. It stores only a reference to a parent `DataFrame` and information about which row and columns from the parent are selected -(both as integer indices referring to the parent) +(both as integer indices referring to the parent). The `DataFrameRow` type supports iteration over columns of the row and is similar in functionality to the `NamedTuple` type, but allows for modification of data stored in the parent `DataFrame` and reflects changes done to the parent after the creation of the view. diff --git a/docs/src/man/split_apply_combine.md b/docs/src/man/split_apply_combine.md index 8b5056b74c..4fde68fcd7 100644 --- a/docs/src/man/split_apply_combine.md +++ b/docs/src/man/split_apply_combine.md @@ -46,7 +46,7 @@ each subset of the `DataFrame`. This specification can be of the following forms vectors of `Symbol`s, vectors of strings, `All`, `Cols`, `:`, `Between`, `Not` and regular expressions) 2. a `cols => function` pair indicating that `function` should be called with - positional arguments holding columns `cols`, which can be a any valid column selector; + positional arguments holding columns `cols`, which can be any valid column selector; in this case target column name is automatically generated and it is assumed that `function` returns a single value or a vector; the generated name is created by concatenating source column name and `function` name by default (see examples below). diff --git a/src/abstractdataframe/selection.jl b/src/abstractdataframe/selection.jl index 2c1a94e5b9..df58ac2cea 100644 --- a/src/abstractdataframe/selection.jl +++ b/src/abstractdataframe/selection.jl @@ -44,7 +44,7 @@ const TRANSFORMATION_COMMON_RULES = vectors of `Symbol`s, vectors of strings, `All`, `Cols`, `:`, `Between`, `Not` and regular expressions) 2. a `cols => function` pair indicating that `function` should be called with - positional arguments holding columns `cols`, which can be a any valid column selector; + positional arguments holding columns `cols`, which can be any valid column selector; in this case target column name is automatically generated and it is assumed that `function` returns a single value or a vector; the generated name is created by concatenating source column name and `function` name by default (see examples below).