Harley

August 26, 2024 ยท View on GitHub

harley logo

Harley contains polars helper methods that will make you more productive.

Harley is also a great way to learn about polars best practices like:

  • how to validate schemas
  • How to use plugins for custom polars functionality.

Harley is a polars port of Harley's sister project, Quinn.

Harley is neither associated with motorbikes ๐Ÿ๏ธ, nor the DC universe ๐Ÿฆธ.

Features

Harley supports developer productivity functions for:

  • column_functions: boolean expressions for null aware between handling, multi-equals expression evaluation, and approximate equals.
  • dataframe_helpers: fast and strict small DataFrame data structure conversion.
  • dataframe_validators: Strict Data/LazyFrame schema validation.
  • maths: Zero-aware division.
  • schema_helpers: Print your schema as python code.
  • string_functions: String blankspace transformations without regex.
  • to_boolean: Null & whitespace aware boolean evaluation. Many valued logic boolean assignment.
  • transformations: Flatten struct types columns with reasonable performance.

Documentation

You can check out all the supported functionality in the documentation.