1- Streaming GPU DataFrames(cudf)
2- ------------------------------
1+ Streaming GPU DataFrames (cudf)
2+ -------------------------------
33
4- The ``streamz.dataframe `` module provides DataFrame-like interface on streaming
5- data as described in ``dataframes `` documentation. It provides support for dataframe
6- like libraries such as pandas and cudf. This documentation is specific to streaming GPU
7- dataframes(cudf).
4+ The ``streamz.dataframe `` module provides a DataFrame-like interface
5+ on streaming data as described in the ``dataframes `` documentation. It
6+ provides support for dataframe-like libraries such as pandas and
7+ cudf. This documentation is specific to streaming GPU dataframes using
8+ cudf.
89
9- The example in the ``dataframes `` documentation is rewritten below using cudf dataframes
10- just by replacing ``pandas `` module with ``cudf ``:
10+ The example in the ``dataframes `` documentation is rewritten below
11+ using cudf dataframes just by replacing the ``pandas `` module with
12+ ``cudf ``:
1113
1214.. code-block :: python
1315
@@ -23,19 +25,21 @@ just by replacing ``pandas`` module with ``cudf``:
2325 Supported Operations
2426--------------------
2527
26- Streaming cudf dataframes support the following classes of operations
28+ Streaming cudf dataframes support the following classes of operations:
2729
2830- Elementwise operations like ``df.x + 1 ``
2931- Filtering like ``df[df.name == 'Alice'] ``
3032- Column addition like ``df['z'] = df.x + df.y ``
3133- Reductions like ``df.amount.mean() ``
3234- Windowed aggregations (fixed length) like ``df.window(n=100).amount.sum() ``
3335
34- The following operations are not supported with cudf(as of version 0.8) yet
36+ The following operations are not yet supported with cudf (as of version 0.8):
37+
3538- Groupby-aggregations like ``df.groupby(df.name).amount.mean() ``
3639- Windowed aggregations (index valued) like ``df.window(value='2h').amount.sum() ``
3740- Windowed groupby aggregations like ``df.window(value='2h').groupby('name').amount.sum() ``
3841
3942
40- Window based Aggregations with cudf are supported just as explained in ``dataframes `` documentation.
41- The support for groupby operations will be added in future.
43+ Window-based Aggregations with cudf are supported just as explained in
44+ the ``dataframes `` documentation. Support for groupby operations is
45+ expected to be added in the future.
0 commit comments