From 1958784679b24d129403cfe5d932ab679682f6f3 Mon Sep 17 00:00:00 2001 From: jernejfrank Date: Sun, 24 Nov 2024 11:12:51 +0800 Subject: [PATCH] Update docs for with_columns Add docs for new with_columns implementations. --- docs/reference/decorators/with_columns.rst | 24 +++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/docs/reference/decorators/with_columns.rst b/docs/reference/decorators/with_columns.rst index 9dbbb7b1f..fd9918714 100644 --- a/docs/reference/decorators/with_columns.rst +++ b/docs/reference/decorators/with_columns.rst @@ -2,10 +2,10 @@ with_columns ======================= -Pandas --------------- +We support the `with_columns` operation that appends the results as new columns to the original dataframe for several libraries: -We have a ``with_columns`` option to run operations on columns of a Pandas dataframe and append the results as new columns. +Pandas +----------------------- **Reference Documentation** @@ -13,6 +13,24 @@ We have a ``with_columns`` option to run operations on columns of a Pandas dataf :special-members: __init__ +Polar (Eager) +----------------------- + +**Reference Documentation** + +.. autoclass:: hamilton.plugins.h_polars.with_columns + :special-members: __init__ + + +Polars (Lazy) +----------------------- + +**Reference Documentation** + +.. autoclass:: hamilton.plugins.h_polars_lazyframe.with_columns + :special-members: __init__ + + PySpark --------------