We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be a nice ergonomic improvement to allow for construction of literals using the data type directly. An example:
pl.select(pl.lit(8, dtype=pl.UInt32)) # existing usage pl.select(pl.UInt32(8)) # proposed usage
I haven't thought this through for all datatypes but at least for basic integer/string/date types it would be a nice improvement.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
It would be a nice ergonomic improvement to allow for construction of literals using the data type directly. An example:
I haven't thought this through for all datatypes but at least for basic integer/string/date types it would be a nice improvement.
The text was updated successfully, but these errors were encountered: