You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I try to set 2D cupy array to some columns of cudf dataframe, it doesn't work correct. I get same value for the whole row. So it is like it is setting one column of 2D array to all columns of cudf dataframe.
Steps/Code to reproduce bug df[[f"f_{i}" for i in range(n)]] = cp.random.randn(m, n)
Expected behavior
It should correctly set 2D arrays to columns like it can be done in pandas.
Workaround
for i in range(n):
df[f"f_{i}"] = cp.random.randn(m)
Environment overview (please complete the following information)
Fresh RAPIDS 21.12 conda installation on Ubuntu 20.04
The text was updated successfully, but these errors were encountered:
Describe the bug
When I try to set 2D cupy array to some columns of cudf dataframe, it doesn't work correct. I get same value for the whole row. So it is like it is setting one column of 2D array to all columns of cudf dataframe.
Steps/Code to reproduce bug
df[[f"f_{i}" for i in range(n)]] = cp.random.randn(m, n)
Expected behavior
It should correctly set 2D arrays to columns like it can be done in pandas.
Workaround
Environment overview (please complete the following information)
Fresh RAPIDS 21.12 conda installation on Ubuntu 20.04
The text was updated successfully, but these errors were encountered: