Skip to content

Typo in learning.ipynb #1270

Open
Open
@IronLucario2012

Description

@IronLucario2012

In learning.ipynb, the attribute "attr_names" of the Dataset class is incorrectly spelled as "attrnames" in several places, which, when referenced in the code cells, causes an AttributeError as shown in the callback snipped below.

AttributeError                            Traceback (most recent call last)
Input In [7], in <cell line: 2>()
      1 print("attrs:", iris.attrs)
----> 2 print("attrnames (by default same as attrs):", iris.attrnames)
      3 print("target:", iris.target)
      4 print("inputs:", iris.inputs)

AttributeError: 'DataSet' object has no attribute 'attrnames'

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