Code Monkey home page Code Monkey logo

Comments (5)

agossard avatar agossard commented on September 27, 2024 2

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.

MarcoGorelli avatar MarcoGorelli commented on September 27, 2024 1

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.

MarcoGorelli avatar MarcoGorelli commented on September 27, 2024

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.

MKDJr avatar MKDJr commented on September 27, 2024

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.

CoffeeMarten avatar CoffeeMarten commented on September 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.