-
Notifications
You must be signed in to change notification settings - Fork 2.1k
dataframe combining logical masks #14518
Copy link
Copy link
Closed
Labels
A:plugin-polarsWork related to the polars dataframe implementationWork related to the polars dataframe implementationstatus:needs-triageAn issue that hasn't had any proper lookAn issue that hasn't had any proper look
Milestone
Description
Describe the bug
I would like to combine logical masks as presented in the documenation
How to reproduce
running:
(true | polars into-df) and (false | polars into-df)returns:
Error: nu::shell::type_mismatch
× Type mismatch.
╭─[entry #25:1:9]
1 │ (true | polars into-df) and (false | polars into-df)
· ───────┬──────
· ╰── expected bool
╰────Expected behavior
not error
Configuration
| key | value |
|---|---|
| version | 0.100.0 |
| major | 0 |
| minor | 100 |
| patch | 0 |
| branch | |
| commit_hash | |
| build_os | linux-x86_64 |
| build_target | x86_64-unknown-linux-gnu |
| rust_version | rustc 1.83.0 (90b35a623 2024-11-26) |
| rust_channel | stable-x86_64-unknown-linux-gnu |
| cargo_version | cargo 1.83.0 (5ffbef321 2024-10-29) |
| build_time | 2024-12-03 06:08:48 +01:00 |
| build_rust_channel | release |
| allocator | mimalloc |
| features | default, sqlite, trash |
| installed_plugins | polars 0.100.0 |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A:plugin-polarsWork related to the polars dataframe implementationWork related to the polars dataframe implementationstatus:needs-triageAn issue that hasn't had any proper lookAn issue that hasn't had any proper look