← Train-Test Workflow
Separate Features and Target
① Learn
Features are the inputs a model uses, and the target is what it tries to predict. Keeping them separate is a basic ML workflow step.
② Implement — write it, run it, submit
Goal
Split a DataFrame into feature columns `hours` and `score`, and target column `passed`.
Output
Hints
- Stuck? Reveal a hint.