EXPAND ALL
- Home
- About Pixie
- Installing Pixie
- Using Pixie
- Tutorials
- Reference
This function parses a string into a 64-bit integer if possible, otherwise it returns the default value.
Integer version of string, if parsing succeeded otherwise the default value passed in.
Variable | Type | Description |
---|---|---|
arg1 | STRING | The string to convert |
arg2 | INT64 | The default integer value to return if conversion fails |
df.val = px.atoi(df.int_as_str_col, -1)