| [ Web Proxy ] |
| Viewing: https://dataframes.bigquery.dev/reference/api/bigframes.pandas.DataFrame.idxmax.html | [Back] [Original] |
Section Navigation
Return index of first occurrence of maximum 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.idxmax()
A 0
B 2
dtype: Int64
Indexes of maxima along the columns.
Copyright 2019, Google.
Created using Sphinx 8.1.3.
Built with the PyData Sphinx Theme 0.19.0.
| Web Proxy Viewer | New URL | Original Page |