[FEA] `np.shape` does not work on `cudf.DataFrame`
Open
0 - Backlog
feature request
Python
- Dominant language
- C++
- Stars
- 9.8k
- Forks
- 1.1k
- Avg merge
- 3d 6m
- Merged PRs (30d)
- 278
Description
Curious if any numpy function that dispatches to `__array_function__` should work on `cudf.DataFrame`
```
In [3]: import numpy as np
In [4]: np.shape(pd.DataFrame([1, 2]))
Out[4]: (2, 1)
In [6]: np.shape(cudf.DataFrame([1, 2]))
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[6], line 1
----> 1 np.shape(cudf.DataFrame([1, 2]))
File <__array_function__ internals>:180, in shape(*args, **kwargs)
TypeError: no implementation found for 'numpy.shape' on types that implement __array_function__: []
```
Contributor guide
Assessment
This issue has not been assessed yet.