input: Write a python function to predict temperature using linear regression model based on index values.
  ```python
  import pandas as pd
  from sklearn.linear_model import LinearRegression
  
  def predict_temperature(data, index):
      X = data.index.values.reshape(-1, 1)
      y = data.Temperature
      model = LinearRegression().fit(X, y)
      return model.predict([[index]])[0]
  
  # Test cases
  data = pd.DataFrame({
   'Temperature': [79.6, 92.1, 81.1, 80.2, 86.3, 89.2, 80.4, 88.5, 91.3, 76.2, 83.3]
  })
  assert round(predict_temperature(data, 12), 1) == 81.9
  assert round(predict_temperature(data, 0), 1) == 79.6
  assert round(predict_temperature(data, 5), 1) == 89.2
output: import pandas as pd
  from sklearn.linear_model import LinearRegression
  
  def predict_temperature(data, index):
      X = data.index.values.reshape(-1, 1)
      y = data.Temperature
      model = LinearRegression().fit(X, y)
      return model.predict([[index]])[0]
  
  # Test cases
  data = pd.DataFrame({
   'Temperature': [79.6, 92.1, 81.1, 80.2, 86.3, 89.2, 80.4, 88.5, 91.3, 76.2, 83.3]
  })
  assert round(predict_temperature(data, 12), 1) == 81.9
  assert round(predict_temperature(data, 0), 1) == 79.6
  assert round(predict_temperature(data, 5), 1) == 89.2