lit¶
- pydiverse.transform.lit( ) LiteralCol[source]¶
Creates a pydiverse.transform expression from a python builtin type.
Usually, you can just use python builtins in expressions without wrapping them in
lit. The pydiverse.transform data type of the value is then inferred. However,litallows to set the exact pydiverse.transform type, which may be useful sometimes.