BitWiseCountZeros / Computation Layer
Count the number of zero bits (unset bits) in each integer value. Similar to popcount(~x) in C++ or bin(x).count('0') in Python.
For n-bit integers:
Common applications:
- Binary data analysis
- Hardware diagnostics
- Memory allocation monitoring
- Sparse data detection
- Network packet analysis
- Error detection codes
Note: Result depends on the integer type width (8/16/32/64 bits).
Table
0
0
Table
Transforms
[, ...]Select
columnThe integer column to count zero bits. Examples:
- 0xFF00 (16-bit) → 8 zeros
- 0x0000 → all bits zero
- 0xFFFF → no zeros
Must be an integer type column
AsColumn
nameName for the new column. If not provided, the system generates a unique name. If AsColumn
matches an existing column, the existing column is replaced. The name should follow valid column naming conventions.