Skip to content

Typo in Lesson 5: processing data with pandas #1

@AstridSanna

Description

@AstridSanna

In the section "EXTRA: Selections by integer position", in the first example, the code data.iloc[0:5:,0:2] does not select TEMP and TEMP_CELSIUS.

I think the code should be one of the of the following:
selection.iloc[0:5,0:2]
data.iloc[0:5,[1, 5]]

Cheers,
Astrid :)

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