ComparisonColumn#
- class pyfcirt.ComparisonColumn( )#
Identify the recorded statement pair represented by one wide answer column.
Parameters#
column: str or intExact answer-column name in the wide DataFrame.
block_id: str or intBlock to which this pair belongs.
statement_1,statement_2: str or intThe two statement IDs in the order used when the answers were recorded.
Returns#
- ComparisonColumn
One descriptor in
ResponseTable(..., format="comparison_wide", comparison_columns=...). Supply one descriptor for each answer column.
Examples#
import pyfcirt as fc
column = fc.ComparisonColumn("choice_01", "B1", "A", "B")
print(column)
ComparisonColumn(column='choice_01', block_id='B1', statement_1='A', statement_2='B')