pyspark.pandas.Index.argmax#

Index.argmax()[source]#

Return a maximum argument indexer.

Parameters
skipnabool, default True
Returns
maximum argument indexer

Examples

>>> psidx = ps.Index([10, 9, 8, 7, 100, 5, 4, 3, 100, 3])
>>> psidx
Index([10, 9, 8, 7, 100, 5, 4, 3, 100, 3], dtype='int64')
>>> psidx.argmax()
4