PacktPublishing / PacktPublishing/Hands-on-Exploratory-Data-Analysis-with-Python

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

Open
#8 4 comments 0 reactions 1 assignee View on GitHub

@sureshHARDIYA is already working on this.

Since Nov 30, 2023.

dependency change issue
Dominant language
Jupyter Notebook
Stars
910
Forks
354
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.