Open beckernick opened 3 years ago
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.
This issue has been labeled inactive-90d
due to no recent activity in the past 90 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.
Hi all, I just attempted to use idxmin with my CUDF dataframe which resulted in an AttributeError: DataFrame object has no attribute idxmin. I was able to reproduce the error using the above Argentinian consumption DF. Any idea on work arounds?
For API compatibility, cuDF should support idxmax and idxmin on Series and DataFrames.
Note that argmin and argmax (https://github.com/rapidsai/cudf/issues/9601) are slightly different from idxmin and idxmax. The latter methods return the index label associated with the first occurrence of the minimum or maximum value. The index label may not be an integer (see example below).
On DataFrmes, these methods return a Series in which each row corresponds to one column in the original dataFrame.