Skip to content

BUG: groupby rolling adaption #501

@UranusSeven

Description

@UranusSeven

Describe the bug

We've implement xorbits._mars.dataframe.groupby.rolling.GroupByRolling, and need to add an adapter for it.

To Reproduce

To help us to reproduce this bug, please provide information below:

  1. Your Python version
  2. The version of Xorbits you use
    master
  3. Versions of crucial packages, such as numpy, scipy and pandas
  4. Full stack of the error.
  5. Minimized code to reproduce the error.
In [1]: import xorbits.pandas as pd

In [2]: df = pd.read_csv('stock.csv', index_col=0, parse_dates=True)

In [3]: df.groupby(
   ...:         ['StockName']).rolling(window=10).mean(numeric_only=True)[['Open', 'High', 'Low', 'Close'
   ...: , 'Volume']]
Out[4]: DataFrame <op=DataFrameIndex, key=d21f5134e213a596827c24722f2df7e4_0>

mini_stock.csv

Expected behavior

Computation should be triggered.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions