Description
Use the smaller length for pairedCount, positive length differences for the two tails, and label the longer side or none.
Zipping lists can stop at the shortest input or extend to the longest with fill values. Those policies trade discarded tails against missing-position padding.
Use the smaller length for pairedCount, positive length differences for the two tails, and label the longer side or none.
When to use this tool
Use List: List Pairwise Zip Tail Label when you need to compare zip output lengths and per-list losses or fills.
How to use the tool and how it works
- Enter leftLength, rightLength. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read result. Expand result to inspect the returned fields.
Use the smaller length for pairedCount, positive length differences for the two tails, and label the longer side or none.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| leftLength | Left Length | Required. Safe integer. |
| rightLength | Right Length | Required. Safe integer. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| result | Result | Required. Object. |
| result.pairedCount | Paired Count | Calculated result member: number. |
| result.unpairedLeft | Unpaired Left | Calculated result member: number. |
| result.unpairedRight | Unpaired Right | Calculated result member: number. |
| result.tailSide | Tail Side | Calculated result member: string. |
{
"input": {
"leftLength": 5,
"rightLength": 3
},
"output": {
"result": {
"pairedCount": 3,
"unpairedLeft": 2,
"unpairedRight": 0,
"tailSide": "left"
}
}
} Limitations and assumptions
- This predicts zip coverage without pairing actual records or selecting a tail policy.
- Outputs are nested inside result. Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Choose a missing-value and alignment policy before actually combining records from unequal lists.
References
Similar or alternative tools
- List Ragged Row Padding Budget
Choose the maximum nonnegative row length, or zero for no rows.
- List Pairwise Adjacency Output Count
Return zero pairs for an empty list.