# Features and Labels

Before a model can learn, its table is split in two, X (capital X, the features, the columns it looks at) and y (the label, the one column it learns to guess), with ID columns left out, and with rows that are enough of the right kind.

![Cheat sheet: Features and Labels](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/4ff7a5dd4e67475bac5602129b9d1a72.webp)

- Category: Machine Learning
- Level: Apprentice
- Tags: ai, DataFrame, Feature (ai), Label (ai), python
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/ml-features-and-labels-cheat-sheet
