Code Monkey home page Code Monkey logo

Comments (6)

ericmjl avatar ericmjl commented on May 26, 2024 1

We should do it! Although the only thing I'm not sure of is how to extend Polars. Is there a guide?

Will admit I haven't had the time to do this because of a lack of need to use polars, but I know the dataframe user base will want polars integration for sure. If we make it work for clean_names, it should just work for the rest of the functions!

from pyjanitor.

samukweku avatar samukweku commented on May 26, 2024 1

we can start incrementally. @3SMMZRjWgS would you like to submit a PR that extends clean_names to polars and geo-pandas?

from pyjanitor.

samukweku avatar samukweku commented on May 26, 2024 1

@3SMMZRjWgS implemented make_clean_names that can be used within existing polars functions - have a look at this PR - #1351 . @ericmjl I chose to use functions instead of creating a method on the polars namespace. This way users can just pass the function to existing polars functions (polars chaining options is pretty extensive already) - this way there should be nothing new to learn for polars users, just plug in the function to the appropriate function and voila. thoughts?

from pyjanitor.

samukweku avatar samukweku commented on May 26, 2024

@ericmjl @pyjanitor-devs/core-devs thoughts? +1 if we can extend pyjanitor to cover polars

from pyjanitor.

samukweku avatar samukweku commented on May 26, 2024

pypolars page on api extensions : https://docs.pola.rs/py-polars/html/reference/api.html

from pyjanitor.

3SMMZRjWgS avatar 3SMMZRjWgS commented on May 26, 2024

@3SMMZRjWgS implemented make_clean_names that can be used within existing polars functions - have a look at this PR - #1351 . @ericmjl I chose to use functions instead of creating a method on the polars namespace. This way users can just pass the function to existing polars functions (polars chaining options is pretty extensive already) - this way there should be nothing new to learn for polars users, just plug in the function to the appropriate function and voila. thoughts?

Thank you so much for making it happen @samukweku and @ericmjl! A function would do 👍 . Look forward to pushing to conda-forge.

from pyjanitor.

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.