Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: groupby rolling adaption #501

Open
UranusSeven opened this issue Jun 7, 2023 · 1 comment · May be fixed by #560
Open

BUG: groupby rolling adaption #501

UranusSeven opened this issue Jun 7, 2023 · 1 comment · May be fixed by #560
Labels
bug Something isn't working

Comments

@UranusSeven
Copy link
Contributor

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

@XprobeBot XprobeBot added the bug Something isn't working label Jun 7, 2023
@XprobeBot XprobeBot added this to the v0.3.2 milestone Jun 7, 2023
@RayJi01
Copy link
Contributor

RayJi01 commented Jun 30, 2023

take

@XprobeBot XprobeBot modified the milestones: v0.3.2, v0.4.1 Jul 1, 2023
@RayJi01 RayJi01 linked a pull request Jul 2, 2023 that will close this issue
2 tasks
@XprobeBot XprobeBot modified the milestones: v0.4.1, Temp Jul 10, 2023
@aresnow1 aresnow1 removed this from the Temp milestone Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants