Comments (6)
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.
we can start incrementally. @3SMMZRjWgS would you like to submit a PR that extends clean_names
to polars and geo-pandas?
from pyjanitor.
@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.
@ericmjl @pyjanitor-devs/core-devs thoughts? +1 if we can extend pyjanitor to cover polars
from pyjanitor.
pypolars page on api extensions : https://docs.pola.rs/py-polars/html/reference/api.html
from pyjanitor.
@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)
- RuntimeWarning: subpackages can technically be lazily loaded HOT 16
- explode_levels
- Not able to import janitor.clean_name function - ImportError: cannot import name 'ABCPandasArray' from 'pandas.core.dtypes.generic' HOT 2
- Typos in repository
- expand function
- [INFRA] Switch over to pyproject.toml
- Support efficient json extraction within a pandas column HOT 1
- [ENH] implement full numba version of a single conditional_join
- deprecation warning for pivot_longer HOT 1
- Return only matching indices for `conditional_join`
- [ENH] cython a subset of _range_join_indices and equi join HOT 4
- extend `col` powers for index selection HOT 1
- dtype conversion on index
- `conditional_join` fails on mac for `equi-join` and numba HOT 1
- Outdated version in conda forge HOT 1
- extend `row_to_names` to support multiindex
- `sheet_name` not required in jn.xlsx_table
- Problems with equalities in contional_join HOT 18
- implement similar functions for polars
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 pyjanitor.