Skip to content

Trouble with Ex 0.4.2 #1

@MieH-Dk

Description

@MieH-Dk

Hi! I'm having a hard time figuring out why the following code doesn't change the name of the first four columns of 'df_weather'. I hope you can help!

df_weather.iloc[:,:4].columns=['station', 'datetime', 'obs_type', 'obs_value']

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