Topfolio
Career TracksFree CoursesPracticeWork ExperienceProjects
For Employers
Start Free
Topfolio

Learn data analytics online. Real skills, real projects, real community.

courses

  • Career Tracks
  • Work Experience
  • Best Data Analyst Course in India
  • SQL Fundamentals
  • SQL Advanced
  • Python for Data
  • Micro Free Courses

practice

  • SQL Fundamentals Interview Test
  • SQL Advanced Coding Test
  • All Practice Tests

resources

  • How to Become a Data Analyst
  • SQL Interview Questions
  • Data Analyst Salary Guide
  • Free Datasets for Practice
  • SQL vs NoSQL Guide
  • Data Analyst vs Data Engineer vs Data Scientist

employers

  • Enterprise Screening
  • AI Proctoring Demo
  • Volume Pricing
  • Employer Portal

company

  • About
  • Terms
© 2026 Topfolio. All rights reserved.Made with ❤️ for aspiring analysts
Topfolio
Career TracksFree CoursesPracticeWork ExperienceProjects
For Employers
Start Free

Two-Sample Kolmogorov-Smirnov Drift Test Runner

easy~15 min20 pts
📊 View Insights

Problem

# Two-Sample Kolmogorov-Smirnov Drift Test Runner The two-sample Kolmogorov-Smirnov (KS) test is a non-parametric method comparing the continuous cumulative distributions of training baseline data against live production predictions. ### Task Implement `detect_feature_drift(baseline_series: pd.Series, current_series: pd.Series, alpha: float = 0.05) -> dict`: 1. Drops null values from both series. 2. Invokes `scipy.stats.ks_2samp(baseline_clean, current_clean)`. 3. Returns a dictionary: `{"statistic": float, "p_value": float, "drift_detected": bool}` where `drift_detected` is True if `p_value < alpha`.
mlopsdriftstatisticspython
📊
📊 View Question Telemetry & Insights
Failure rate, silent bug autopsy & optimal query construction
Inspect →

Master SQL & Data Analytics

Ready to take your skills to the next level? Enroll in our comprehensive Data Analyst Career Track to master SQL, Python, Excel, and Power BI.

Explore the 12-Week Data Analyst Career Track

Related questions

  • Enforce Model Schema Signatures with MLflowmedium
  • Compute Population Stability Index (PSI) with Epsilon Smoothingmedium
  • Implement FastAPI Lifespan Model Cachingmedium
  • Deterministic Salted Hash Routing for A/B Canarieseasy
  • Longest Substring with At Most K Distinct Charactersmedium
  • Subarray Sum Equals Kmedium
  • Daily Temperatureseasy
  • Generate All Subsetsmedium
SQL Editor

Run your code to see the result here.

Topfolio

Learn data analytics online. Real skills, real projects, real community.

courses

  • Career Tracks
  • Work Experience
  • Best Data Analyst Course in India
  • SQL Fundamentals
  • SQL Advanced
  • Python for Data
  • Micro Free Courses

practice

  • SQL Fundamentals Interview Test
  • SQL Advanced Coding Test
  • All Practice Tests

resources

  • How to Become a Data Analyst
  • SQL Interview Questions
  • Data Analyst Salary Guide
  • Free Datasets for Practice
  • SQL vs NoSQL Guide
  • Data Analyst vs Data Engineer vs Data Scientist

employers

  • Enterprise Screening
  • AI Proctoring Demo
  • Volume Pricing
  • Employer Portal

company

  • About
  • Terms
© 2026 Topfolio. All rights reserved.Made with ❤️ for aspiring analysts