pandas.Series.squeeze

Series.squeeze(**kwargs)

Squeeze length 1 dimensions.