Comments (2)
Can reproduce on 1.0.0-rc.2
pl.DataFrame({
'idx': [1, 2]
}).rolling('idx', period='2i').agg(
pl.lit(pl.Series([1])).slice(-1, 1)
)
# PanicException: range end index 2 out of range for slice of length 1
Not sure if it is the same underlying issue, but if I remove the pl.Series
I have to kill the process - it seems to go into a memory explosion loop.
pl.DataFrame({
'idx': [1, 2]
}).rolling('idx', period='2i').agg(
pl.lit([1]).slice(-1, 1)
)
# never returns
from polars.
Your example now runs on main.
from polars.
Related Issues (20)
- Performance regression of `n_unique` in `group_by/agg` context since 1.3.0. HOT 2
- Wrong pl.when matching HOT 8
- Panic when filtering a dataframe with an object field
- write_excel(...hidden_columns) parameter no longer working
- Support additional join types with join_where HOT 3
- pl.DataFrame(...).write_csv(StringIO()) broken HOT 1
- Panic with "expected arrays of the same length" HOT 8
- Thread Spawn Failure: Resource Temporarily Unavailable (ThreadPoolBuildError) HOT 1
- Expressions can now be used with LazyFrames (e.g. in `unnest()`) but not DataFrames
- Error shrink_dtype() used into rolling() or group_by() functions
- `sample()` inside `agg()` seems to cause incorrect Schema for LazyFrame
- scan_csv does not work with IO[bytes] HOT 2
- Getting different result after same operations on dataframe and column HOT 1
- [1.7.0 Regression] Lit with a list creates a series of one element, thus with_columns fails. HOT 4
- Support `center` for `rolling_mean_by()` and friends
- Empty dataframe with "cross-row" operation contaminates sum and product HOT 2
- Optimize Reading Hive Partitioned Column
- Some functions do not accept arbitrary expressions. Should it be part of an API? HOT 2
- Build fails with serde feature HOT 3
- use of undeclared crate or module `futures` with polars 0.43.0
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.