docstr: Test that the columns 't' and 'y_scaled' are added to the dataframe.
docstr_tok: ["Test","that","the","columns","'t","'","and","'y_scaled","'","are","added","to","the","dataframe","."]
code: def test_setup_dataframe(self, daily_univariate_ts, backend):
      """Test that the columns 't' and 'y_scaled' are added to the dataframe."""
      train, _ = train_test_split(
          daily_univariate_ts, daily_univariate_ts.shape[0] // 2
      )
      m = Prophet(stan_backend=backend)
      history = m.setup_dataframe(train, initialize_scales=True)
  
      assert "t" in history
      assert history["t"].min() == 0.0
      assert history["t"].max() == 1.0
  
      assert "y_scaled" in history
      assert history["y_scaled"].max() == 1.0
  
imports: import numpy
  import pandas
  import pytest
  from prophet import Prophet
  from prophet.utilities import warm_start_params
label_desc: Use image node_id 1 for calling the TestProphetDataPrep obj's underlying member method code with example usage: obj.test_setup_dataframe(daily_univariate_ts, backend) without return types