Skip to content

Code Error detected #1

@tolani007

Description

@tolani007

Highlighting Code for needed tweak

Hi Jcharis,

I noticed that in [Data Cleaning -Working with Column Names]

 The code below does not work:
### To View a Summary of the Column Names
df.columns.summary()

#### It gives the output below:
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
[<ipython-input-8-d9b9f7060be7>](https://localhost:8080/#) in <cell line: 0>()
      1 ### To View a Summary of the Column Names
----> 2 df.columns.summary()

AttributeError: 'Index' object has no attribute 'summary'

Also i love these cleaning exercises thank you .

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