I have predictions.iloc[5]:
(predictions.iloc[5])
Out[102]:
0 569.366922
Name: 5, dtype: float64
I also have mape
mape
Out[103]: 3.1396327381728257
I'm combining the two variables into forecast
forecast = ((predictions.iloc[5]), mape)
I'm trying to print without the Name: 5, dtype: float64 detail
but when I try:
print(forecast.to_string(index=False, header=False))
I get error:
AttributeError: 'tuple' object has no attribute 'to_string'