Skip to content

Commit 326cdd9

Browse files
author
PaulWestenthanner
committed
update dependencies
1 parent 9a86233 commit 326cdd9

File tree

6 files changed

+643
-598
lines changed

6 files changed

+643
-598
lines changed

.github/workflows/test-suite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: ['3.10', '3.11', '3.12', '3.13']
18+
python-version: ['3.11', '3.12', '3.13']
1919

2020
steps:
2121
- uses: actions/checkout@v2

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
v.2.9.0 - Unreleased
2+
====================
3+
4+
* Breaking: Dropped support for python 3.10
5+
* Change: Updated some dependencies to latest versions.
6+
17
v.2.8.1
28
=======
39

category_encoders/count.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,9 @@ def combine_min_categories(self, X):
242242
]
243243
)
244244

245-
self._min_group_categories[col] = {
246-
cat: min_group_mapper_name for cat in mapper.loc[min_groups_idx].index.tolist()
247-
}
245+
self._min_group_categories[col] = dict.fromkeys(
246+
mapper.loc[min_groups_idx].index.tolist(), min_group_mapper_name
247+
)
248248

249249
if not min_groups_idx.all():
250250
mapper = mapper.loc[~min_groups_idx]

category_encoders/ordinal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def _validate_supplied_mapping(
303303
self, supplied_mapping: list[dict[str, str | dict | pd.Series]]
304304
) -> list[dict[str, str | pd.Series]]:
305305
"""
306-
validate the supplied mapping and convert the actual mapping per column to a pandas series.
306+
Validate the supplied mapping and convert the actual mapping per column to a pandas series.
307307
308308
:param supplied_mapping: mapping as list of dicts.
309309
They actual mapping can be either a dict or pd.Series

0 commit comments

Comments
 (0)