polars.io.partition.KeyedPartition#

class polars.io.partition.KeyedPartition(name: str, str_value: str, raw_value: Any)[source]#

A key-value pair for a partition.

Warning

This functionality is currently considered unstable. It may be changed at any point without it being considered a breaking change.

__init__(name: str, str_value: str, raw_value: Any) None[source]#

Methods

__init__(name, str_value, raw_value)

hive_name()

Get the key=value.

Attributes

name

Name of the key column.

str_value

Value of the key as a path and URL safe string.

raw_value

Value of the key for this partition.