Skip to content

FPM-587 - Flag qc / infill results#74

Merged
richjam merged 3 commits intomainfrom
feature/FPM-587-flag-qc-infill-etc
Apr 15, 2026
Merged

FPM-587 - Flag qc / infill results#74
richjam merged 3 commits intomainfrom
feature/FPM-587-flag-qc-infill-etc

Conversation

@richjam
Copy link
Copy Markdown
Collaborator

@richjam richjam commented Apr 14, 2026

Overview

Previously, the QC and infill methods didn't integrate directly with the flagging systems. This PR integrates the flag system into qc_check() and infill() so users can automatically flag rows based on QC failures or infill application.

Main changes

  • TimeFrame.qc_check() - removes the into parameter; replaces with flag_params. Without flag_params, returns a boolean Series (as before when into was False). When flag_params are provided, sets the given flag value to the given flag column on all rows that failed the QC check, returns a new TimeFrame
  • TimeFrame.infill() - similar to qc_check, adds flag_params. When provided, sets the given flag value to the given flag column on rows that were null before infilling and non-null after.

Notes

Documentation will get wrapped up in FPM-283.

@richjam richjam requested a review from simsta87 April 14, 2026 15:21
@richjam richjam merged commit 2ec7c58 into main Apr 15, 2026
3 checks passed
@richjam richjam deleted the feature/FPM-587-flag-qc-infill-etc branch April 15, 2026 09:13
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.

2 participants