Skip to content

[FAQ Bot] NEW: Homework 1 Q6: Why does the median of horsepower change after filling NA - #421

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
faq-bot/issue-420
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
faq-bot/issue-420

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

✨ FAQ NEW

Course: machine-learning-zoomcamp
Section: module-1-homework (This is a homework-specific question about imputing missing values using the mode in the course’s early regression homework work, so it fits best under the Module 1 homework section.)
Related Issue: #420

Question

Homework 1 Q6: Why does the median of horsepower change after filling NAs with the most frequent value?

Decision Rationale

No existing FAQ addresses how imputing missing horsepower values with the mode affects the median and why the median can shift downward. The proposal provides a specific explanation and code snippet that should be captured.

Placement Details

  • Section ID: module-1-homework
  • Sort Order: End of section
  • Filename Slug: hw1-q6-median-changes-after-filling-nas-with-mode

🤖 Generated by FAQ Bot

Closes #420

@Nikith20072002

Copy link
Copy Markdown

Hi, I'd like to work on this issue. I'll investigate why the median changes after filling the missing horsepower values with the mode and add a clear explanation to the FAQ.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FAQ: Homework 1 Q6 - why does the horsepower median change after fillna with the mode?

1 participant