Skip to content

[DataFrame] Fixing bugs in groupby#2031

Merged
robertnishihara merged 2 commits intoray-project:masterfrom
devin-petersohn:groupby_bugfix
May 10, 2018
Merged

[DataFrame] Fixing bugs in groupby#2031
robertnishihara merged 2 commits intoray-project:masterfrom
devin-petersohn:groupby_bugfix

Conversation

@devin-petersohn
Copy link
Copy Markdown
Member

Fixing a few bugs in groupby:

Passing a df.column_name to groupby as the by parameter gave a ValueError: buffer source array is read-only. We fix this by extracting the values (those are all we need anyway).

Also fixing a bug where we try to append the tuple partition to the list of args.

Finally, I found a bug where we were trying to access the value in keys_and_values as a Series still, so it no longer needs to be a np.array.

@AmplabJenkins
Copy link
Copy Markdown

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/5310/
Test PASSed.

@AmplabJenkins
Copy link
Copy Markdown

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/5314/
Test PASSed.

@robertnishihara robertnishihara merged commit 89e2eef into ray-project:master May 10, 2018
alok added a commit to alok/ray that referenced this pull request May 11, 2018
* master:
  [xray] Fix UniqueID hashing for object and task IDs. (ray-project#2017)
  [DataFrame] Fixing bugs in groupby (ray-project#2031)
  [DataFrame] Fixes dropna subset bug (ray-project#2018)
alok added a commit to alok/ray that referenced this pull request May 11, 2018
* master:
  [xray] Fix UniqueID hashing for object and task IDs. (ray-project#2017)
  [DataFrame] Fixing bugs in groupby (ray-project#2031)
  [DataFrame] Fixes dropna subset bug (ray-project#2018)
  [DataFrame] Implement where (ray-project#1989)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants