pyspark.pandas.Index.argmin

Index.argmin() → int[source]

Return a minimum argument indexer.

Parameters
skipnabool, default True
Returns
minimum argument indexer

Examples

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