apache_beam.dataframe.partitionings module¶
-
class
apache_beam.dataframe.partitionings.
Partitioning
[source]¶ Bases:
object
A class representing a (consistent) partitioning of dataframe objects.
-
class
apache_beam.dataframe.partitionings.
Index
(levels=None)[source]¶ Bases:
apache_beam.dataframe.partitionings.Partitioning
A partitioning by index (either fully or partially).
If the set of “levels” of the index to consider is not specified, the entire index is used.
These form a partial order, given by
Nothing() < Index([i]) < Index([i, j]) < … < Index() < Singleton()The ordering is implemented via the is_subpartitioning_of method, where the examples on the right are subpartitionings of the examples on the left above.
-
class
apache_beam.dataframe.partitionings.
Singleton
[source]¶ Bases:
apache_beam.dataframe.partitionings.Partitioning
A partitioning of all the data into a single partition.
-
class
apache_beam.dataframe.partitionings.
Nothing
[source]¶ Bases:
apache_beam.dataframe.partitionings.Partitioning
A partitioning imposing no constraints on the actual partitioning.