PracHub
QuestionsLearningGuidesInterview Prep

Quick Overview

This question evaluates proficiency in data manipulation and basic statistical aggregation, particularly handling missing values and computing averages in Python. Commonly asked in technical interviews for Data Scientist roles within the Coding & Algorithms domain, it gauges practical application and robustness in data cleaning and edge-case handling rather than purely conceptual theory.

  • easy
  • Microsoft
  • Coding & Algorithms
  • Data Scientist

Write an average-income function

Company: Microsoft

Role: Data Scientist

Category: Coding & Algorithms

Difficulty: easy

Interview Round: Technical Screen

Quick Answer: This question evaluates proficiency in data manipulation and basic statistical aggregation, particularly handling missing values and computing averages in Python. Commonly asked in technical interviews for Data Scientist roles within the Coding & Algorithms domain, it gauges practical application and robustness in data cleaning and edge-case handling rather than purely conceptual theory.

Last updated: Apr 19, 2026
Loading…
PracHub

Master your tech interviews with 8,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • AI Coding Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.

Related Coding Questions

  • In-Memory URL Shortener: Encode and Decode - Microsoft (medium)
  • Minimum Moves on a Grid with k-Cell Jumps - Microsoft (medium)
  • Maximize a Product After a Shared XOR - Microsoft (medium)
  • Find the Best Connected Strength for Every Tree Node - Microsoft (medium)
  • Return Top K Open Businesses - Microsoft (hard)