bigframes.pandas.DataFrame.idxmin#

DataFrame.idxmin() Series[source]#

Return index of first occurrence of minimum over columns.

NA/null values are excluded.

Examples:

>>> df = bpd.DataFrame({"A": [3, 1, 2], "B": [1, 2, 3]})
>>> df
    A       B
0   3       1
1   1       2
2   2       3

[3 rows x 2 columns]
>>> df.idxmin()
A    1
B    0
dtype: Int64
Returns:

Indexes of minima along the columns.

Return type:

bigframes.pandas.Series