qa_wdrs_result_summary

qa.qa_wdrs_result_summary(wdrs_res_sum_output: str)

QA wdrs_result_summary

Usage

To be used in a .with_columns() statement

Parameters

wdrs_res_sum_output : str

wdrs result summary column output from transformation functions

Examples

from wadoh_subtyping import qa
from wadoh_raccoon.utils import helpers 
import polars as pl

roster = pl.DataFrame({
    "wdrs_res_sum_output": [
        'G_POSITIVE',
        'G_NEGATIVE',
        None        ]
})
df = (
    roster
    .with_columns(
        qa.qa_wdrs_result_summary(wdrs_res_sum_output='wdrs_res_sum_output')
    )
)

helpers.gt_style(df_inp=df)
index wdrs_res_sum_output qa_wdrs_result_summary
0 G_POSITIVE false
1 G_NEGATIVE false
2 None true