Skip to content

Commit

Permalink
Update docs for with_columns
Browse files Browse the repository at this point in the history
Add docs for new with_columns implementations.
  • Loading branch information
jernejfrank committed Nov 26, 2024
1 parent 7c8e1ce commit 1d76a7d
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions docs/reference/decorators/with_columns.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,35 @@
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**

.. autoclass:: hamilton.plugins.h_pandas.with_columns
: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
--------------

Expand Down

0 comments on commit 1d76a7d

Please sign in to comment.