How to add a new column with a scalar value? #11009
Answered
by
gforsyth
ScottWilliamAnderson
asked this question in
Q&A
-
I was looking at the docs but the examples they give for adding a new column are only by modifying an existing column, not adding new data:
Is there a way to create a new column with a scalar value on all rows? e.g. like
Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
gforsyth
Mar 16, 2025
Replies: 1 comment 1 reply
-
Hey @ScottWilliamAnderson , you can populate a new column with a string by wrapping it in
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ScottWilliamAnderson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @ScottWilliamAnderson , you can populate a new column with a string by wrapping it in
ibis.literal
, so