pandas.Series.item

Series.item()

return the first element of the underlying data as a python scalar