cudf icon indicating copy to clipboard operation
cudf copied to clipboard

[question] Cannot slice dataframe using .loc using index and values of other dataframes

Open saurabhr opened this issue 3 years ago • 1 comments

trying following code:

x_meta_train_samp = training_subs.index[training_subs[col].values].values x_k_train = all_data_X_corr.loc[k_train.index,x_meta_train_samp]

gives following error:

TypeError: unhashable type: 'cupy._core.core.ndarray'

but the same does work in pandas

saurabhr avatar Aug 17 '22 07:08 saurabhr

This issue has been labeled inactive-30d due to no recent activity in the past 30 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. This issue will be labeled inactive-90d if there is no activity in the next 60 days.

github-actions[bot] avatar Sep 16 '22 08:09 github-actions[bot]

I'm going to close this issue for now, but please feel free to reopen and add details if there is an open issue to be addressed here.

vyasr avatar Oct 17 '22 19:10 vyasr