dask_awkward.PartitionCompatibility#
- class dask_awkward.PartitionCompatibility(value)[source]#
Sum type for describing partition compatibility.
Use the
partition_compatibility()
function as an entry point to instances of this class.- NO#
The compatibility is absolutely false; either an unequal number of partitions or known divisions do not match
- MAYBE#
The compatibility is possible; the total number of partitions are equal but some divisions are unknown so therefore it’s possible that partitions are not compatible, but this cannot be determined without some compute.
- YES#
The compatibility is absolutely true; equal number of partitions and known divisions match.
See also
- __init__()#
Methods
conjugate
Returns self, the complex conjugate of any int.
bit_length
()Number of bits necessary to represent self in binary.
bit_count
()Number of ones in the binary representation of the absolute value of self.
to_bytes
(length, byteorder, *[, signed])Return an array of bytes representing an integer.
from_bytes
(byteorder, *[, signed])Return the integer represented by the given array of bytes.
as_integer_ratio
()Return integer ratio.
Attributes