Skip to content

chapter 7: TypeError: 'NoneType' object is not iterable error #8

@gokcenazakyol

Description

@gokcenazakyol

When I try to fix "countplot() got multiple values for argument 'data'" issue, I changed the code as "sns.countplot(data = titanic, x = 'Sex', hue = 'Survived', ax = ax[1])".

It fixes the past issue, but it gives "TypeError: 'NoneType' object is not iterable error" because of "hue" value I think. Can anyone help?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions