This script reports the dataset's feature count, but it's printing the ROW count — a classic shape mixup. Fix it so it prints features: 3.
The break is on line 4 — but read the whole snippet first.
This script reports the dataset's feature count, but it's printing the ROW count — a classic shape mixup. Fix it so it prints features: 3.