Skip to content

Ch.2 Error using corr() #686

@rejgrant

Description

@rejgrant

I am getting the following error while using corr_matrix = housing.corr(), I know the method should exclude non-numerical columns, can't understand this error.
" ValueError: could not convert string to float: 'INLAND' "

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions