nushell/crates/nu_plugin_polars
Jack Wright 650ae537c3
Fix the use of right hand expressions in operations (#13096)
As reported by @maxim-uvarov and pyz in the dataframes discord channel:

```nushell
[[a b]; [1 1] [1 2] [2 1] [2 2] [3 1] [3 2]] | polars into-df | polars with-column ((polars col a) / (polars col b)) --name c


  × Type mismatch.
   ╭─[entry #45:1:102]
 1 │ [[a b]; [1 1] [1 2] [2 1] [2 2] [3 1] [3 2]] | polars into-df | polars with-column ((polars col a) / (polars col b)) --name c
   ·                                                                                                      ───────┬──────
   ·                                                                                                             ╰── Right hand side not a dataframe expression
   ╰────
```

This pull request corrects the type casting on the right hand side and
allows more than just polars literal expressions.
2024-06-10 10:44:04 +08:00
..
src Fix the use of right hand expressions in operations (#13096) 2024-06-10 10:44:04 +08:00
Cargo.toml Upgrade to polars 0.40 (#13069) 2024-06-06 07:26:47 +08:00
LICENSE Move dataframes support to a plugin (#12220) 2024-04-09 19:31:43 -05:00