Skip to content

KeyError: "['income_cat'] not found in axis" #18

@KanchanSarkar

Description

@KanchanSarkar

for set_ in (strat_train_set, strat_test_set):
set_.drop("income_cat", axis=1, inplace=True)

KeyError: "['income_cat'] not found in axis"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions