pandas.Series.set_axis

Series.set_axis(axis, labels)

public verson of axis assignment