Python. Pandas. Minimum and its index

DataFrame:
0 1 2 3 4 5 0 NaN 2.828427 3.162278 10.198039 12.165525 13.601471 1 NaN NaN 3.162278 8.944272 10.770330 12.529964 2 NaN NaN NaN 7.071068 9.055385 10.440307 3 NaN NaN NaN NaN 2.000000 3.605551 4 NaN NaN NaN NaN NaN 2.236068 5 NaN NaN NaN NaN NaN NaN
C
x.min()
Yes, it is.0 NaN 1 2.828427 2 3.162278 3 7.071068 4 2.000000 5 2.236068
C
min(x.min()[2:])
Yes, it is.2.0
♪ How do you get two together with her index 4?

First, you can get a vector with minimum poles and then get an absolute minimum and an index using it. https://pandas.pydata.org/pandasdocs/stable/reference/api/pandas.Series.idxmin.html :
mn = df.min() min_, min_idx = mn.min(), mn.idxmin() print(f"min: {min_}, min_index: {min_idx}") # min: 2.0, min_index: 4