Casting expression result
Would it be possible to cast an expression into a specific datatype without casting the source columns?
Nested polars.col()
I would like to get value from column whose name is in another column.
Polars mul uses lesser scale
This might be linked to Polars DataFrame – Decimal Precision doubles on mul with Integer.
Polars pl.col(field).name.map_fields applies to all struct columns (not the one specified)
I have this code:
“{}” breaking the json_decode()
I want to make the string of empty dictionary to be a struct, but json_decode
fails as there are some rows with strings of empty dictionary in a df
“{}” breaking the json_decode()
I want to make the string of empty dictionary to be a struct, but json_decode
fails as there are some rows with strings of empty dictionary in a df
Polars Query Optimisation re: String Operations on Categorical Columns
Do string operations on Categorical
columns cast the entire column to String
first and then perform the operation, or where possible do they operate on the (presumably [much] smaller) Categorical Dictionary directly?
Polars Query Optimisation re: String Operations on Categorical Columns
Do string operations on Categorical
columns cast the entire column to String
first and then perform the operation, or where possible do they operate on the (presumably [much] smaller) Categorical Dictionary directly?
Polars Query Optimisation re: String Operations on Categorical Columns
Do string operations on Categorical
columns cast the entire column to String
first and then perform the operation, or where possible do they operate on the (presumably [much] smaller) Categorical Dictionary directly?
Polars Query Optimisation re: String Operations on Categorical Columns
Do string operations on Categorical
columns cast the entire column to String
first and then perform the operation, or where possible do they operate on the (presumably [much] smaller) Categorical Dictionary directly?