Для печати с сохранением индекса вы можете использовать .to_string()
:
df = pd.DataFrame({'a': [1,2,3], 'b': [2.23, 0.23, 2.3]}, index=['x1', 'x2', 'x3'])
s = df.loc[:'x2', 'b']
type(s)
# Out: pandas.core.series.Series
print(s)
# Out:
x1 2.23
x2 0.23
Name: b, dtype: float64 # <- OP is asking to remove "name and dtype"
# solution:
print(s.to_string())
# Out:
x1 2.23
x2 0.23