-
Notifications
You must be signed in to change notification settings - Fork 915
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Concatenate dictionary of objects along axis=1 (#15623)
Note: This work is heavily based off [amanlai's](https://github.com/amanlai) PR [raised here](#15160), wasn't able to base my branch off amanlai's due to deleted branch. > Closes #15115. >Unlike `pandas.concat`, `cudf.concat` doesn't work with a dictionary of objects. The following code raises an error. ```python d = { 'first': cudf.DataFrame({'A': [1, 2], 'B': [3, 4]}), 'second': cudf.DataFrame({'A': [5, 6], 'B': [7, 8]}), } cudf.concat(d, axis=1) ``` >This commit resolves this issue. Authors: - https://github.com/er-eis - Lawrence Mitchell (https://github.com/wence-) Approvers: - Lawrence Mitchell (https://github.com/wence-) - Bradley Dice (https://github.com/bdice) URL: #15623
- Loading branch information
Showing
2 changed files
with
268 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.