Skip to content

Commit 556ac52

Browse files
committed
📝 Add Narwhals
1 parent c29d07d commit 556ac52

3 files changed

Lines changed: 24 additions & 0 deletions

File tree

CHANGELOG.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ emergencies when we need to start branches for older versions.
2323
Added
2424
~~~~~
2525

26+
* 📝 Add Narwhals
2627
* 📝 Add protobuf-py
2728

2829
Changed

docs/performance/parallelise-pandas.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ In :doc:`pandas:user_guide/enhancingperf`, some possibilities are described for
99
improving the performance of pandas. However, there are also special libraries
1010
that can parallelise the processing of data frames.
1111

12+
.. _cudf:
13+
1214
cuDF
1315
----
1416

@@ -23,6 +25,8 @@ cuDF is a GPU DataFrame library that implements a `pandas-like API
2325
* `Example notebooks
2426
<https://github.com/rapidsai-community/notebooks-contrib>`_
2527

28+
.. _modin:
29+
2630
Modin
2731
-----
2832

@@ -54,3 +58,13 @@ of the pandas API, although there are minor changes.
5458
* `API docs <https://docs.dask.org/en/latest/dataframe-api.html>`_
5559
* `Example notebook <https://examples.dask.org/dataframe.html>`_
5660
* `Tutorial <https://tutorial.dask.org/01_dataframe.html>`_
61+
62+
Narwhals
63+
--------
64+
65+
`Narwhals <https://narwhals-dev.github.io/narwhals/>`_ provides a lightweight
66+
and extensible compatibility layer between various DataFrame libraries, with
67+
full API support for :ref:`cudf`, :ref:`modin`,
68+
:doc:`../workspace/pandas/index`, :ref:`polars` and `PyArrow
69+
<https://arrow.apache.org/docs/python/index.html>`_. :ref:`dask`, :ref:`duckdb`
70+
and others are also supported to a certain extent.

docs/workspace/pandas/index.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,25 @@ of workload:
4949

5050
pandas
5151
is the canonical Python DataFrame library for analysis on a single machine.
52+
53+
.. _polars:
54+
5255
Polars
5356
is written in Rust and allows for powerful analysis on a single node or when
5457
`lazy evaluation <https://en.wikipedia.org/wiki/Lazy_evaluation>`_ and
5558
`expressions API
5659
<https://docs.pola.rs/api/python/stable/reference/expressions/index.html>`_
5760
are important.
61+
62+
.. _dask:
63+
5864
Dask
5965
is a Python library for parallel computing that scales familiar APIs,
6066
including pandas and `Scikit-Learn <https://scikit-learn.org/stable/>`_, to
6167
clusters.
68+
69+
.. _duckdb:
70+
6271
DuckDB
6372
is an in-process `OLAP
6473
<https://en.wikipedia.org/wiki/Online_analytical_processing>`_ database for

0 commit comments

Comments
 (0)