Comments (5)
Hi All. I’ve started working on this. Will have Marco review PR when it’s done. I am also planning on adding an extrapolate option, looking to match default behavior of np.interp
from polars.
Sure, thanks - just noting though that even if Float64 type was allowed, it wouldn't automatically unlock the linked scipy methods, as only linear interpolation is currently supported
I'll take a look at supporting Float64 (not high priority though)
Regarding the scipy functions, maybe that's an idea for a polars plugin - polars-interpolate
, with lots of fancy interpolation methods which might be out-of-scope for Polars itself
from polars.
hi @MKDJr
i'm not sure I understand the request, as you can't currently pass a scipy method to interpolate_by? could you clarify please?
from polars.
Sure! My request is to expand the accepted types for the by
argument of interpolate_by
to include the Float64
type.
I can see how the initial request was unclear. Thanks for the quick response!
from polars.
Just want to upvote! Was very happy to see interpolate_by but my first use I'm interpolating by floats (Temperatures...) - I worked around by casting/dividing but this will greatly increase flexibility.
from polars.
Related Issues (20)
- parallel cumulative_eval returns incorrect results HOT 1
- rolling_mean calculation error after replace inf HOT 2
- Inner dtype is incorrect on array series concatenation HOT 1
- Zero-sized Array caused panic exception
- Functions with `INPUT_WILDCARD_EXPANSION` flag produce incorrect plan with multi column selections
- asof_join 'sorted' concept incompatible with sorted flag HOT 1
- Support for identity based access to cloud data HOT 3
- Adding functions for factor analysis (for e.g., linear/logistic regression)
- Make `unnest()` "unnest" all columns by default
- read_excel with openpyxl truncates and loses information HOT 1
- Panic when comparing Arrays
- Panic when there is a shape mismatch in Arrays HOT 1
- Error for ppc64le architecture
- order_by in over is incorrect when grouping column is marked as sorted HOT 1
- LazyFrame.unnest `*more_columns` argument being ignored HOT 1
- Reshape should probably not infer any dimension beyond the first HOT 1
- Example python_rust_compiled_function build fails in 43.1
- Support Excel tables in `read_excel`
- `polars.DataFrame.write_excel` parameter `hidden_columns` is only used if `column_widths` is also set HOT 1
- read_csv() with schema_overrides cause ComputeError
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.