Skip to content

Comments

Fix array handling, filter repr, imputation logic, and pandas FutureW…#187

Open
MahmoodEtedadi wants to merge 2 commits intoepic-open-source:mainfrom
MahmoodEtedadi:fix/bug-fixes-with-tests
Open

Fix array handling, filter repr, imputation logic, and pandas FutureW…#187
MahmoodEtedadi wants to merge 2 commits intoepic-open-source:mainfrom
MahmoodEtedadi:fix/bug-fixes-with-tests

Conversation

@MahmoodEtedadi
Copy link
Contributor

Overview

Fix issues in cohorts, filter, pandas helpers and resolve pandas FutureWarning

Description of changes

  • cohorts.py: support numpy arrays in resolve_col_data with proper index alignment
  • filter.py: fix FilterRule string repr for non-string values
  • pandas_helpers.py: fix imputation row counting and merge strategy fallback
  • _util.py: skip empty concat in add_unseen to resolve pandas FutureWarning

Author Checklist

  • Linting passes; run early with pre-commit hook.
  • Tests added for new code and issue being fixed.
  • Added type annotations and full numpy-style docstrings for new methods.
  • For breaking API changes, added .. versionchanged:: NEXT_VERSION_PLACEHOLDER directive to affected docstrings.
  • Draft your news fragment in new changelog/ISSUE.TYPE.rst files; see changelog/README.md.

…arning

- cohorts.py: support numpy arrays in resolve_col_data with proper index alignment
- filter.py: fix FilterRule string repr for non-string values
- pandas_helpers.py: fix imputation row counting and merge strategy fallback
- _util.py: skip empty concat in add_unseen to resolve pandas FutureWarning
@MahmoodEtedadi MahmoodEtedadi requested review from diehlbw and gbowlin and removed request for gbowlin February 18, 2026 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant