# Ternary Operator \`?:\` on a DataFrame :)

**URL:** <https://discourse.julialang.org/t/ternary-operator-on-a-dataframe/102798>\
**Category:** New to Julia\
**Tags:** question, dataframes\
**Created:** [August 14, 2023, 6:10pm UTC](https://discourse.julialang.org/t/ternary-operator-on-a-dataframe/102798 "2023-08-14T18:10:21Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Jollywatt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jollywatt/32/202198_2.png) [@Jollywatt](https://discourse.julialang.org/u/Jollywatt)\
**Post date:** [August 16, 2023, 12:04am UTC](https://discourse.julialang.org/t/ternary-operator-on-a-dataframe/102798/11 "2023-08-16T00:04:40Z")

</div>

(Another thread about broadcasting the ternary operator: [Is this an expected behavior of rand.()?](https://discourse.julialang.org/t/is-this-an-expected-behavior-of-rand/97735))

---

_[View the full topic](https://discourse.julialang.org/t/ternary-operator-on-a-dataframe/102798)._
