Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated minor typos in index.md #318

Merged
merged 3 commits into from
Jan 3, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,8 @@ example the result of `@transform(df, @byrow :y = f(:x))` and

## Propagating missing values with `@passmissing`

Many Julia functions to not automatically propagate missing values. For instance,
`parse(Int, missing)` will error.
Many Julia functions do not automatically propagate missing values. For instance,
`parse(Int, missing)` will throw an error.
svilupp marked this conversation as resolved.
Show resolved Hide resolved

Missings.jl provides the `passmissing` function-wrapper to help get around these
roadblocks: `passmissing(f)(args...)` will return `missing` if any of `args` is
Expand Down Expand Up @@ -610,13 +610,13 @@ Consequently,
@transform(df, :y = :A + $"B")
```

will not error even though
will not throw an error even though
svilupp marked this conversation as resolved.
Show resolved Hide resolved

```
transform(df, [:A, "B"] => (+) => :y)
```

will error in DataFrames.
will throw an error in DataFrames.
svilupp marked this conversation as resolved.
Show resolved Hide resolved

For consistency, this restriction in the input column types also applies to `@with`
and `@eachrow`. You cannot mix integer column references with `Symbol` or string column
Expand Down