How Kaggle submissions actually work (CSV, code comps, and not wasting your daily budget)
Submitting to Kaggle sounds trivial until your first CSV gets rejected for a reason the error message won’t explain. Here’s how the two formats work and how not to burn your limited daily submissions on nothing.
CSV submissions
Most competitions want a CSV with an ID column and one or more prediction columns. Titanic, for example:
PassengerId,Survived 892,0 893,1 894,0 ...The rules that actually bite:
- Column names have to match the sample submission file exactly.
- Row count has to equal the test set. Not one more, not one fewer.
- No extra columns, and no index column (this is the one that gets everyone).
Code Competition submissions
Some competitions make you submit a notebook that generates predictions at runtime instead of a finished CSV. In those: