rapidsai/cudf

[FEA] Add support for equivalence of Pandas 'unstack' on Series

Open

#10,059 opened on Jan 15, 2022

View on GitHub
 (3 comments) (0 reactions) (0 assignees)C++ (735 forks)batch import
Pythonfeature requestgood first issue

Repository metrics

Stars
 (6,000 stars)
PR merge metrics
 (Avg merge 17d 21h) (230 merged PRs in 30d)

Description

Is your feature request related to a problem? Please describe. Hi,

While porting some code from Pandas to cuDF, I have noticed that cuDF series do not support unstack method. As an additional request, It would be great if fill_values could be supported in both cudf.DataFrame.unstack and cudf.Series.unstack methods. Thanks!

Describe the solution you'd like To have that method supported in cuDF series.

Describe alternatives you've considered Creating a cuDF DataFrame from the cuDF series, use unstack on the DataFrame.

Contributor guide