Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/glenhertz/tidierdata.jl int…
Browse files Browse the repository at this point in the history
…o pr/GlenHertz/98
  • Loading branch information
kdpsingh committed Jun 8, 2024
2 parents 74ea2a2 + bfcf9e0 commit 1efc08f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/UserGuide/conditionals.jl
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ end

# ## Do these functions work outside of TidierData.jl?

# Yes, both `if_else()` and `case_when()` work outside of TidierData.jl. However, you'll need to remember that if working with vectors, both the functions and conditions will need to be vectorized, and in the case of `case_when()`, the `=>` will need to be written as `.=>`. The reason this is not needed when using these functions inside of TidierData.jl is because they are auto-vectorized.
# Yes, both `if_else()` and `case_when()` work outside of TidierData.jl. However, you'll need to remember that if working with vectors, both the functions and conditions will need to be vectorized, and in the case of `case_when()`, the `=>` will need to be written as `.=>`. The reason this is not needed when using these functions inside of TidierData.jl is because they are auto-vectorized.

0 comments on commit 1efc08f

Please sign in to comment.