pandas.Series.squeeze

Series.squeeze()

Squeeze length 1 dimensions.