eland.DataFrame.idxmin#

DataFrame.idxmin(axis: int = 0) Series#

Return index of first occurrence of minimum over requested axis.

NA/null values are excluded.

Parameters#

axis{0, 1}, default 0

The axis to filter on, expressed as index (int).

Returns#

pandas.Series

See Also#

pandas.DataFrame.idxmin

Examples#

>>> ed_df = ed.DataFrame('http://localhost:9200', 'flights')
>>> ed_flights = ed_df.filter(["AvgTicketPrice", "FlightDelayMin", "dayOfWeek", "timestamp"])
>>> ed_flights.idxmin()
AvgTicketPrice    5454
FlightDelayMin       0
dayOfWeek            0
dtype: object