A linting result for a single linting rule match.

interface DataFrameAccessValidationResult {
    access: string;
    accessed: string | number;
    certainty: LintingCertainty;
    operand?: string;
    quickFix?: LintQuickFix[];
    range: SourceRange;
    type: "column" | "row";
}

Hierarchy (View Summary)

Hierarchy-Diagram

UML class diagram of DataFrameAccessValidationResult

Properties

access: string

The name of the function/operation used for the access (e.g. $, [, [[, but also filter, select, ...)

accessed: string | number

The name or index of the column or row being accessed in the data frame

certainty: LintingCertainty
operand?: string

The variable/symbol name of the accessed data frame operand (undefined if operand is no symbol)

quickFix?: LintQuickFix[]

If available, what to do to fix the linting result.

The source range in the code where the access occurs

type: "column" | "row"

The type of the data frame access ("column" or "row")