From 55d1eb8e02515ca444927e1f381e84210f30f6b6 Mon Sep 17 00:00:00 2001 From: nick863 <30440255+nick863@users.noreply.github.com> Date: Fri, 16 Jun 2023 13:13:46 -0700 Subject: [PATCH] Add temporary fix to orange juice notebook (#2378) * Add temporary fix to orange juice notebook * Test fix for notebook run * Revert changes in the workflow file * Figure out what subscription we are using * Revert the workflow file --- .../auto-ml-forecasting-orange-juice-sales.ipynb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v1/python-sdk/tutorials/automl-with-azureml/forecasting-orange-juice-sales/auto-ml-forecasting-orange-juice-sales.ipynb b/v1/python-sdk/tutorials/automl-with-azureml/forecasting-orange-juice-sales/auto-ml-forecasting-orange-juice-sales.ipynb index 3fbb2a037b..d770e2434c 100644 --- a/v1/python-sdk/tutorials/automl-with-azureml/forecasting-orange-juice-sales/auto-ml-forecasting-orange-juice-sales.ipynb +++ b/v1/python-sdk/tutorials/automl-with-azureml/forecasting-orange-juice-sales/auto-ml-forecasting-orange-juice-sales.ipynb @@ -254,7 +254,9 @@ " time_series_id_column_names, group_keys=False\n", " )\n", " df_head = df_grouped.apply(lambda dfg: dfg.iloc[:-n])\n", + " df_head.reset_index(inplace=True, drop=True)\n", " df_tail = df_grouped.apply(lambda dfg: dfg.iloc[-n:])\n", + " df_tail.reset_index(inplace=True, drop=True)\n", " return df_head, df_tail\n", "\n", "\n",