Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENH] improve performance for polars' complete #1389

Merged
merged 16 commits into from
Jul 31, 2024
4 changes: 3 additions & 1 deletion environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies:
- mypy
- natsort
- numba
- numpy
- numpy==1.24.4
- openpyxl
- pandas-flavor
- pandas-vet
Expand All @@ -51,3 +51,5 @@ dependencies:
- xorg-libxrender
- pip:
- mknotebooks
# Temporarily pinned to fix CI
- setuptools==70.3.0
1 change: 0 additions & 1 deletion janitor/functions/convert_date.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ def convert_matlab_date(
return df.assign(**dictionary)


@pf.register_dataframe_method
@pf.register_dataframe_method
@refactored_function(
message=(
Expand Down
3 changes: 2 additions & 1 deletion janitor/polars/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from .clean_names import clean_names, make_clean_names
from .complete import complete
from .complete import complete, expand
from .dates_to_polars import convert_excel_date, convert_matlab_date
from .pivot_longer import pivot_longer, pivot_longer_spec
from .row_to_names import row_to_names
Expand All @@ -10,6 +10,7 @@
"clean_names",
"make_clean_names",
"row_to_names",
"expand",
"complete",
"convert_excel_date",
"convert_matlab_date",
Expand Down
Loading
Loading