---
title: Try the candidate interface for Data Science questions
description: Learn how to preview the candidate's interface for a Data Science question, from choosing Jupyter or Script to compiling and submitting a solution.
---

[Skip to content](https://help.hackerearth.com/candidate-s-interface#main-content)

![hackerearth-logo-light](https://help.hackerearth.com/hubfs/hackerearth-logo-light.svg)

Open main navigation

Close main navigation

 Hello. How can we help you?

- There are no suggestions because the search field is empty.

1. [Help Center](https://help.hackerearth.com/)
2. [Assessments: Recruiters](https://help.hackerearth.com/assessments-recruiters)
3. [Data science](https://help.hackerearth.com/assessments-recruiters#data-science)

# Try the candidate interface for Data Science questions

You can experience the candidate’s interface by following these steps:

1\. Add a Data Science question to a test.

*Note*: You can either [select an existing data science question from the library](https://help.hackerearth.com/hc/en-us/articles/4404652984473) or [create a new question](https://help.hackerearth.com/hc/en-us/articles/4404793028377-DS-question-creation-guide-in-a-test).

2\. Select the question and click **Try question**.

![DS2.png](https://help.hackerearth.com/hubfs/Knowledge%20Base%20Import/DS2-3.png)

3\. You are directed to a candidate’s test interface. The dataset can be downloaded from **Click here to download data set**.

![DS3.png](https://help.hackerearth.com/hubfs/Knowledge%20Base%20Import/DS3-3.png)

4\. You can use the editor provided to solve the question. To open the editor, click **Edit project code.** 

**![DS4.png](https://help.hackerearth.com/hs-fs/hubfs/Knowledge%20Base%20Import/DS4-3.png?width=527&height=161&name=DS4-3.png)**

5\. You can set up your editor by selecting either the **Jupyter** or **Script** interface. Once selected, click **Proceed**.

*Notes* 

- You cannot change the editor interface once it is selected.
- Jupyter supports Python 3.5.2, and Script supports the following languages: 
    - Python 2.7.6
    - Python 3.5.2
    - R (RScript 3.4.0)

![DS5.png](https://help.hackerearth.com/hs-fs/hubfs/Knowledge%20Base%20Import/DS5-3.png?width=553&height=377&name=DS5-3.png)

6\. You can use the selected editor interface to solve the question and make your submission.

7\. Once you have made your submission, click **COMPILE & TEST** to auto-evaluate the submission file. Here, your submission will run against the Sample Expected output and a score is generated.

![DS6.png](https://help.hackerearth.com/hs-fs/hubfs/Knowledge%20Base%20Import/DS6-3.png?width=478&height=280&name=DS6-3.png)

8\. To submit, click **SUBMIT**. Here, your submission is auto-evaluated against the Full Expected output. A final score is generated and displayed.

## **Encountering error messages**

### **For data science questions**

When you submit using the editor, it is important to submit in the required format. To ensure this, various error messages are displayed on the interface.

- For a recruiter in the candidate interface, you can observe the following types of error messages if there is any incorrect format in the submission:

| **Error type** | **Error message** |
| --- | --- |
| Incorrect submission file type | Runtime Error - Please upload a csv file containing predictions in the format given in the sample submission file |
| Incorrect column name | Runtime Error - \<Name\_of\_incorrect\_column\> |
| Incorrect size of the submission | Runtime Error - File does not contain the correct number of rows |
| Missing keys or index values | Runtime Error - File does not contain prediction for   \<missing\_index\_value\> |

- A candidate encounters only the following error message if there is any incorrect format of his or her submission: **FILE\_NOT\_OK**

### **For short data science questions**

When you submit using the editor, submitting in the required format is important. To ensure this, various error messages are displayed on the interface.

- For a recruiter in the candidate interface, you can observe the following types of error messages:
  
  | **Error type** | **Error message** |
  | --- | --- |
  | Incorrect submission file type | Runtime Error - Please upload the correct file type format given in the sample submission file |
  | Incorrect column name | Runtime Error - \<Name\_of\_incorrect\_column\> **Note**: This error is only displayed when there is some problem with .CSV file. |
  | Incorrect size of the submission | Runtime Error - File does not contain the correct number of rows **Note**: This error is only displayed when there is some problem with .CSV file. |
  | Missing keys or index values | Runtime Error - File does not contain prediction for   \<missing\_index\_value\> |
  | Incorrect answer | Your answer for task \<task no\> is incorrect **Note**: This error message is displayed only for JSON file submissions when the candidate's answer is incorrect. |

 

- [Assessments: Recruiters](https://help.hackerearth.com/assessments-recruiters#main-content)

    - [Getting started](https://help.hackerearth.com/assessments-recruiters#getting-started)
    - [Account settings](https://help.hackerearth.com/assessments-recruiters#account-settings)
    - [Admin management](https://help.hackerearth.com/assessments-recruiters#admin-management)
    - [Creating tests automatically](https://help.hackerearth.com/assessments-recruiters#creating-tests-automatically)
    - [Creating tests manually](https://help.hackerearth.com/assessments-recruiters#creating-tests-manually)
    - [Test settings](https://help.hackerearth.com/assessments-recruiters#test-settings)
    - [Sections and question pooling](https://help.hackerearth.com/assessments-recruiters#sections-and-question-pooling)
    - [Libraries](https://help.hackerearth.com/assessments-recruiters#libraries)
    - [Multiple Choice Questions (MCQs)](https://help.hackerearth.com/assessments-recruiters#multiple-choice-questions-mcqs)
    - [Programming](https://help.hackerearth.com/assessments-recruiters#programming)
    - [Project](https://help.hackerearth.com/assessments-recruiters#project)
    - [SQL](https://help.hackerearth.com/assessments-recruiters#sql)
    - [Data science](https://help.hackerearth.com/assessments-recruiters#data-science)
    - [Machine Learning (ML)](https://help.hackerearth.com/assessments-recruiters#machine-learning-ml)
    - [DevOps](https://help.hackerearth.com/assessments-recruiters#devops)
    - [Python project questions](https://help.hackerearth.com/assessments-recruiters#python-project-questions)
    - [Automation Testing](https://help.hackerearth.com/assessments-recruiters#automation-testing)
    - [Java Project](https://help.hackerearth.com/assessments-recruiters#java-project)
    - [C# project questions](https://help.hackerearth.com/assessments-recruiters#c-project-questions)
    - [Subjective](https://help.hackerearth.com/assessments-recruiters#subjective)
    - [Approximate](https://help.hackerearth.com/assessments-recruiters#approximate)
    - [Diagram](https://help.hackerearth.com/assessments-recruiters#diagram)
    - [File upload](https://help.hackerearth.com/assessments-recruiters#file-upload)
    - [Invites](https://help.hackerearth.com/assessments-recruiters#invites)
    - [Reports](https://help.hackerearth.com/assessments-recruiters#reports)
    - [Billing](https://help.hackerearth.com/assessments-recruiters#billing)
    - [HackerEarth Reports: Admins, Tests, and Teams](https://help.hackerearth.com/assessments-recruiters#hackerearth-reports-admins-tests-and-teams)
    - [Technical Content Updates](https://help.hackerearth.com/assessments-recruiters#technical-content-updates)
- [FaceCode](https://help.hackerearth.com/facecode#main-content)

    - [FaceCode and its features](https://help.hackerearth.com/facecode#facecode-and-its-features)
    - [Scheduling interviews on FaceCode](https://help.hackerearth.com/facecode#scheduling-interviews-on-facecode)
- [Assessments: ATS integrations](https://help.hackerearth.com/assessments-ats-integrations#main-content)

    - [Integration](https://help.hackerearth.com/assessments-ats-integrations#integration)
    - [iCIMS](https://help.hackerearth.com/assessments-ats-integrations#icims)
    - [Zoho Recruit](https://help.hackerearth.com/assessments-ats-integrations#zoho-recruit)
    - [SmartRecruiters](https://help.hackerearth.com/assessments-ats-integrations#smartrecruiters)
    - [EightFold](https://help.hackerearth.com/assessments-ats-integrations#eightfold)
    - [SuccessFactors](https://help.hackerearth.com/assessments-ats-integrations#successfactors)
    - [Greenhouse](https://help.hackerearth.com/assessments-ats-integrations#greenhouse)
    - [Lever](https://help.hackerearth.com/assessments-ats-integrations#lever)
    - [Linkedin Talent Hub](https://help.hackerearth.com/assessments-ats-integrations#linkedin-talent-hub)
    - [JazzHR](https://help.hackerearth.com/assessments-ats-integrations#jazzhr)
    - [Workable](https://help.hackerearth.com/assessments-ats-integrations#workable)
    - [Recruiterbox - Trakstar Hire](https://help.hackerearth.com/assessments-ats-integrations#recruiterbox-trakstar-hire)
    - [Jobvite](https://help.hackerearth.com/assessments-ats-integrations#jobvite)
    - [Ashby](https://help.hackerearth.com/assessments-ats-integrations#ashby)
- [Assessments: Product updates](https://help.hackerearth.com/assessments-product-updates#main-content)

    - [Release notes: HackerEarth Assessment](https://help.hackerearth.com/assessments-product-updates#release-notes-hackerearth-assessment)
    - [Root Cause Analysis (RCA)](https://help.hackerearth.com/assessments-product-updates#root-cause-analysis-rca)
    - [Content updates](https://help.hackerearth.com/assessments-product-updates#content-updates)
- [Assessments: Best practices](https://help.hackerearth.com/assessments-best-practices#main-content)

    - [Recruit](https://help.hackerearth.com/assessments-best-practices#recruit)
- [SSO](https://help.hackerearth.com/sso#main-content)

    - [SSO](https://help.hackerearth.com/sso#sso)
- [Upskilling](https://help.hackerearth.com/upskilling#main-content)

    - [Introduction: Upskilling](https://help.hackerearth.com/upskilling#introduction-upskilling)
- [Assessments: Candidates](https://help.hackerearth.com/assessments-candidates#main-content)

    - [Getting started](https://help.hackerearth.com/assessments-candidates#getting-started)
    - [Test environment](https://help.hackerearth.com/assessments-candidates#test-environment)
    - [Question types](https://help.hackerearth.com/assessments-candidates#question-types)
    - [FaceCode](https://help.hackerearth.com/assessments-candidates#facecode)
    - [Feedback and queries](https://help.hackerearth.com/assessments-candidates#feedback-and-queries)
- [Problem setting for HackerEarth](https://help.hackerearth.com/problem-setting-for-hackerearth#main-content)

    - [Rate cards](https://help.hackerearth.com/problem-setting-for-hackerearth#rate-cards)
- [Campus](https://help.hackerearth.com/campus#main-content)

    - [Recruiters](https://help.hackerearth.com/campus#recruiters)
    - [Recruiter FAQs](https://help.hackerearth.com/campus#recruiter-faqs)
    - [Candidate FAQs](https://help.hackerearth.com/campus#candidate-faqs)
- [Hackathons and Hiring Challenges](https://help.hackerearth.com/hackathons-and-hiring-challenges#main-content)

    - [Hackathons](https://help.hackerearth.com/hackathons-and-hiring-challenges#hackathons)
    - [Hiring challenges](https://help.hackerearth.com/hackathons-and-hiring-challenges#hiring-challenges)
- [Frequently Asked Questions (FAQs)](https://help.hackerearth.com/frequently-asked-questions-faqs#main-content)

    - [Assessments: Recruiters](https://help.hackerearth.com/frequently-asked-questions-faqs#assessments-recruiters)
    - [GDPR compliance (Candidates)](https://help.hackerearth.com/frequently-asked-questions-faqs#gdpr-compliance-candidates)
    - [GDPR compliance (Recruiters)](https://help.hackerearth.com/frequently-asked-questions-faqs#gdpr-compliance-recruiters)
    - [General](https://help.hackerearth.com/frequently-asked-questions-faqs#general)
    - [Assessments: Candidates](https://help.hackerearth.com/frequently-asked-questions-faqs#assessments-candidates)
    - [HackerEarth Vs ChatGPT](https://help.hackerearth.com/frequently-asked-questions-faqs#hackerearth-vs-chatgpt)
- [Profiles](https://help.hackerearth.com/profiles#main-content)

    - [Profiles - Recruiter](https://help.hackerearth.com/profiles#profiles-recruiter)
- [OnScreen](https://help.hackerearth.com/onscreen#main-content)

    - [OnScreen - Interview templates](https://help.hackerearth.com/onscreen#onscreen-interview-templates)
    - [OnScreen - Sending Invites](https://help.hackerearth.com/onscreen#onscreen-sending-invites)
    - [OnScreen - Download reports](https://help.hackerearth.com/onscreen#onscreen-download-reports)
    - [OnScreen - Interview Analytics](https://help.hackerearth.com/onscreen#onscreen-interview-analytics)
    - [OnScreen - Overview](https://help.hackerearth.com/onscreen#onscreen-overview)
    - [OnScreen - Interview Proctoring Settings](https://help.hackerearth.com/onscreen#onscreen-interview-proctoring-settings)

[![hackerearth-logo-light](https://help.hackerearth.com/hubfs/hackerearth-logo-light.svg "hackerearth-logo-light")](https://www.hackerearth.com/)

##### The skills intelligence platform for the AI era. Evaluate developers, candidates, and AI agents.

<https://www.linkedin.com/company/hackerearth/> <https://twitter.com/HackerEarth> <https://www.youtube.com/channel/UCYU6nvKyRYnE5kiG9JXkXpA>

© 2026 HackerEarth · All rights reserved