CodeSampleX

Sample

Match missing Int64 join keys with DataFrame.merge and validate their key cardinality

sha256:bcad84af5a7a444a332c8510e62933efa13ab58d9ca715a49afc7a0c95b2d6e8

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Match missing Int64 join keys with DataFrame.merge and validate their key cardinality HOW
Packages
pandas 3.0.5
Environment
python 3.12
Created
2026-08-17T02:15:22Z

Commonly assumed

An inner pandas DataFrame.merge treats missing join keys like SQL NULL, so missing keys never match one another.

The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts