Python Data Science Online Test
For Jobseekers
Practice your skills and earn a certificate of achievement when you score in the top 25%.
Take a Practice TestFor Companies
Test candidates with real-world problems and interview the best ones.
Sign Up to Offer this TestAbout the test
The Python Data Science online test assesses knowledge of using Python and data science libraries such as Pandas, NumPy, Scipy, and Scikit-learn to analyze data through a series of live coding questions. This test requires applying probability and statistics to solve data science problems.
The assessment includes work-sample tasks such as:
- Classification of data using different algorithms.
- Aggregating, grouping, sorting, and cleaning data.
- Building machine learning models.
A good data scientist or data analyst using Python for their tasks should be able to take advantage of the functionality provided by Python data science libraries to extract and analyze knowledge and insights from data.
Sample public questions
Implement the desired_marketing_expenditure function, which returns the required amount of money that needs to be invested in a new marketing campaign to sell the desired number of units.
Use the data from previous marketing campaigns to evaluate how the number of units sold grows linearly as the amount of money invested increases.
For example, for the desired number of 60,000 units sold and previous campaign data from the table below, the function should return the float 250,000.
Previous campaigns
Campaign | Marketing expenditure | Units sold |
---|---|---|
#1 | 300,000 | 60,000 |
#2 | 200,000 | 50,000 |
#3 | 400,000 | 90,000 |
#4 | 300,000 | 80,000 |
#5 | 100,000 | 30,000 |
You are given a list of tickers and their daily closing prices for a given period.
Implement the most_corr function that, when given each ticker's daily closing prices, returns the pair of tickers that are the most highly (linearly) correlated by daily percentage change.
For jobseekers: get certified
Earn a free certificate by achieving top 25% on the Python Data Science test with public questions.
Take a Certification TestSample silver certificate
Sunshine Caprio
Java and SQL TestDomeCertificate
For companies: premium questions
Buy TestDome to access premium questions that can't be practiced.
Get money back if you find any premium question answered online.
Ready to Interview?
Use these and other questions from our library with our
Code Interview Platform.
8 more premium Python Data Science questions
Class Grades, Median Height, Cubic Approximation, Clean CSV, Birthday Cards, Free Throws, Credit Score, Distribution Fitting.
Skills and topics tested
- Python for Data Science
- Grouping
- NumPy
- Pandas
- Data Cleaning
- Machine Learning
- Nonlinear Regression
- Scikit-Learn
- Processing CSV
- Sorting
- Data Aggregation
- Classification
- K-Nearest Neighbors
- Cauchy Distribution
- Exponential Distribution
- Normal Distribution
- SciPy
For job roles
- Data Analyst
- Data Scientist
- Statistician
Sample candidate report
Need it fast? AI-crafted tests for your job role
TestDome generates custom tests tailored to the specific skills you need for your job role.
Sign up now to try it out and see how AI can streamline your hiring process!
What others say
Simple, straight-forward technical testing
TestDome is simple, provides a reasonable (though not extensive) battery of tests to choose from, and doesn't take the candidate an inordinate amount of time. It also simulates working pressure with the time limits.
Jan Opperman, Grindrod Bank
Product reviews
Used by
Solve all your skill testing needs
150+ Pre-made tests
From web development and database administration to project management and customer support. See all pre-made tests.
130+ skills
From JavaScript and SQL to English and customer support. See all questions to filter by skill.
Multi-skills Test
Mix questions for different skills or even custom questions in one test. See an example.
How TestDome works
Choose a pre-made test
or create a custom test
Invite candidates via
email, URL, or your ATS
Candidates take
a test remotely
Sort candidates and
get individual reports