NVIDIA / NVIDIA/cudf

[FEA] DataFrame.align

Open
#18,354 1 comment 0 reactions 0 assignees View on GitHub
cudf.pandas feature request Python
Dominant language
C++
Stars
9.8k
Forks
1.1k
Avg merge
3d 6m
Merged PRs (30d)
278

Description

**Missing Pandas Feature Request**
https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.align.html

The Dataframe.align function from pandas

```python
import cudf as pd
df = pd.DataFrame(
[[1, 2, 3, 4], [6, 7, 8, 9]], columns=["D", "B", "E", "A"], index=[1, 2]
)
other = pd.DataFrame(
[[10, 20, 30, 40], [60, 70, 80, 90], [600, 700, 800, 900]],
columns=["A", "B", "C", "D"],
index=[2, 3, 4],
)
left, right = df.align(other, join="outer", axis=1)
```
```
AttributeError: DataFrame object has no attribute align. Did you mean: 'assign'?
```

**Profiler Output**
If you used the profiler in pandas accelerator mode, please provide the full output of your profiling report.

**Additional context**
Add any other context, code examples, or references to existing implementations about the feature request here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.