Skip to content

01_regression.ipynb Correlation #59

Open
@surajrn

Description

@surajrn

When using Pandas version > 2, the correlation code requires an additional argument.

Running data.corr() might give an error which looks like this:

ValueError: could not convert string to float: 'chevrolet chevelle malibu'

Need to change the code snippet to:

data.corr(numeric_only=True)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions