-
Notifications
You must be signed in to change notification settings - Fork 662
docs: add introduction to pandas users for adding columns with single text values (literal) #11010
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
docs: add introduction to pandas users for adding columns with single text values (literal) #11010
Conversation
ACTION NEEDED Ibis follows the Conventional Commits specification for release automation. The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification. See https://github.com/ibis-project/ibis/blob/main/.releaserc.js The commitlint output is:
|
I think this is not needed, as recently the |
Hey @ScottWilliamAnderson! I think having this info in multiple places is fine -- users coming from |
Ah, great to hear. I've re-opened the PR, you can merge this if you find it helpful. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ScottWilliamAnderson !
Description of changes
ibis generally follows pandas syntax for mutating columns, with the exception of adding string columns where
ibis.literal
is needed.ibis.literal
is not mentioned yet in the pandas' user introductions, so it would be helpful to include this as it's not clear to the user why adding a float column or summing two columns together uses the same syntax as pandas, while a adding a single-valued string column does not.This is the reason #11009 was opened (as a q&a link to send to new users).
Including it in the pandas introduction docs would reduce friction for switching to ibis for pandas users.