Any help on this?
Screen Link: https://app.dataquest.io/m/293/data-cleaning-basics/2/cleaning-column-names
My Code: <``````>
new_columns=[]
for column in laptops.columns:
str.strip(column)
new_columns.append(column)
laptops.columns = new_columns
What I expected to happen:
What actually happened:
I honestly can’t figure out why it gives me an actual vs. expected error. I feel very silly.