Skip to content

pd.DataFrame.idxmin

pandas.DataFrame.idxmin(axis=0, skipna=True)

Supported Arguments : None

Example Usage

>>> @bodo.jit
... def f():
...   df = pd.DataFrame({"A": [1,2,3], "B": [4,5,6], "C": [7,8,9]})
...   return df.idxmax()
>>> f()
A    0
B    0
C    20
dtype: int64