Comments (3)
Looks like a bug to me, but possibly not the one you were thinking of; in both of the above cases I'd expect the function to raise an error, as neither input is a bare/compound selector (which is really what this function is for).
This isn't what I was thinking of, but also exactly what I'd want, so is the dream scenario :p.
Thanks for the quick response! The polars integration with Great Tables has really been a game changer!
from polars.
This issue seems related to
Which brings up good language for talking about selectors, column expressions, and expressions. For example, this comment by @stinodego. I'm not sure if cs.contains("x").name.suffix("_z")
has entered expression territory as laid out in his comment?
(IMO the R library dplyr's across doc does a good job of framing these pieces, though in a very different interface, with separate arguments for selection, expression, and naming; here it is ported to siuba, and to ibis)
from polars.
Looks like a bug to me, but possibly not the one you were thinking of; in both of the above cases I'd expect the function to raise an error, as neither input is a bare/compound selector (which is really what this function is for).
I'll see about fixing that, and then we can think how best to address your requirements - big fan of Great Tables, so let's make sure we can handle this cleanly/consistently 😅
from polars.
Related Issues (20)
- aho-corasick `.str.extract_many()`
- Broadcast operations similar to Pandas / Numpy HOT 4
- pl.scan_pyarrow_dataset drops timezone information
- Hive partitions are corrupted during reads from cloud storage in Polars 1.0.0-rc.1
- Rust 0.41.1: error[E0412]: cannot find type `CloudOptions` in this scope HOT 4
- Support writing to multiple files in a directory with `write/sink_parquet` HOT 1
- `DataFrame.top_k` not handling nulls correctly in version 1.0.0-rc.1 HOT 3
- String to datetime conversion with custom format HOT 5
- Add `get()` Method for Safe Column Access in DataFrame HOT 1
- Segmentation Fault when plotting with plotly HOT 3
- sink_parquet_cloud doesnt work when updating from 0.40 -> 0.41 HOT 2
- read_csv ignores columns param when target csv has only header
- Panic when importing parquet file HOT 4
- Switch over default engine for `read_excel` from `"xlsx2csv"` to `"calamine"`
- Compatibility with PygTrie prefix trie lists/dicts
- LazyFrame check for both `unique` and `with_row_index`
- `.map_elements` with `return_dtype=pl.List(pl.Struct)` leads to `sink_parquet` PanicException
- Incorrect `PolarsInefficientMapWarning` for string containment with `in` HOT 2
- Maintain support for parsing hive partitions from user provided directory paths HOT 1
- [QST/DOC]: Join key matching semantics for expression keys HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polars.