---------------------------------------------------------------------- This is the API documentation for the gdtest_code_span_headings library. ---------------------------------------------------------------------- ## Functions Utility functions compare_values(data, column: str, value=None) Compare column values against a threshold. Parameters ---------- data The input data. column Column name to compare. value Comparison threshold. Accepts scalars, column references, or expressions. What Can Be Used in `value=`? ----------------------------- The ``value=`` parameter accepts several types: - A scalar like ``10`` or ``"hello"``. - A column reference using ``col("other_col")``. - An expression using ``expr()``. Returns ------- list Filtered results. filter_range(data, column: str, left=None, right=None) Filter values within a range. Parameters ---------- data The input data. column Column name to filter. left Lower bound of the range. right Upper bound of the range. What Can Be Used in `left=` and `right=`? ------------------------------------------ The ``left=`` and ``right=`` parameters accept: - Scalars (``int``, ``float``, ``str``). - Column references. - Expressions. Returns ------- list Filtered results.