diff --git a/extensions/arc/notebooks/arcDeployment/deploy.arc.data.controller.ipynb b/extensions/arc/notebooks/arcDeployment/deploy.arc.data.controller.ipynb index a87aac9123..1ec42152d3 100644 --- a/extensions/arc/notebooks/arcDeployment/deploy.arc.data.controller.ipynb +++ b/extensions/arc/notebooks/arcDeployment/deploy.arc.data.controller.ipynb @@ -65,13 +65,7 @@ { "cell_type": "code", "source": [ - "import pandas,sys,os,json,html,getpass,time, tempfile\n", - "pandas_version = pandas.__version__.split('.')\n", - "pandas_major = int(pandas_version[0])\n", - "pandas_minor = int(pandas_version[1])\n", - "pandas_patch = int(pandas_version[2])\n", - "if not (pandas_major > 0 or (pandas_major == 0 and pandas_minor > 24) or (pandas_major == 0 and pandas_minor == 24 and pandas_patch >= 2)):\n", - " sys.exit('Please upgrade the Notebook dependency before you can proceed, you can do it by running the \"Reinstall Notebook dependencies\" command in command palette (View menu -> Command Palette…).')\n", + "import sys,os,json,html,getpass,time, tempfile\n", "def run_command(command):\n", " print(\"Executing: \" + command)\n", " !{command}\n", diff --git a/extensions/asde-deployment/notebooks/edge/deploy-sql-edge-azure.ipynb b/extensions/asde-deployment/notebooks/edge/deploy-sql-edge-azure.ipynb index 16c0601d3b..d0c93ab551 100644 --- a/extensions/asde-deployment/notebooks/edge/deploy-sql-edge-azure.ipynb +++ b/extensions/asde-deployment/notebooks/edge/deploy-sql-edge-azure.ipynb @@ -53,13 +53,7 @@ { "cell_type": "code", "source": [ - "import pandas,sys,os,json,html,getpass,time,ntpath,uuid\n", - "pandas_version = pandas.__version__.split('.')\n", - "pandas_major = int(pandas_version[0])\n", - "pandas_minor = int(pandas_version[1])\n", - "pandas_patch = int(pandas_version[2])\n", - "if not (pandas_major > 0 or (pandas_major == 0 and pandas_minor > 24) or (pandas_major == 0 and pandas_minor == 24 and pandas_patch >= 2)):\n", - " sys.exit('Please upgrade the Notebook dependency before you can proceed, you can do it by running the \"Reinstall Notebook dependencies\" command in command palette (View menu -> Command Palette…).')\n", + "import sys,os,json,html,getpass,time,ntpath,uuid\n", "\n", "def run_command(command:str, displayCommand:str = \"\", returnObject:bool = False):\n", " print(\"Executing: \" + (displayCommand if displayCommand != \"\" else command))\n", diff --git a/extensions/asde-deployment/notebooks/edge/deploy-sql-edge-local.ipynb b/extensions/asde-deployment/notebooks/edge/deploy-sql-edge-local.ipynb index bf5c6965b8..a4ec19db9a 100644 --- a/extensions/asde-deployment/notebooks/edge/deploy-sql-edge-local.ipynb +++ b/extensions/asde-deployment/notebooks/edge/deploy-sql-edge-local.ipynb @@ -48,14 +48,8 @@ { "cell_type": "code", "source": [ - "import pandas,sys,os,getpass,json,html,time\n", + "import sys,os,getpass,json,html,time\n", "from string import Template\n", - "pandas_version = pandas.__version__.split('.')\n", - "pandas_major = int(pandas_version[0])\n", - "pandas_minor = int(pandas_version[1])\n", - "pandas_patch = int(pandas_version[2])\n", - "if not (pandas_major > 0 or (pandas_major == 0 and pandas_minor > 24) or (pandas_major == 0 and pandas_minor == 24 and pandas_patch >= 2)):\n", - " sys.exit('Please upgrade the Notebook dependency before you can proceed, you can do it by running the \"Reinstall Notebook dependencies\" command in command palette (View menu -> Command Palette…).')\n", "\n", "def run_command(displayCommand = \"\"):\n", " print(\"Executing: \" + (displayCommand if displayCommand != \"\" else cmd))\n", diff --git a/extensions/asde-deployment/notebooks/edge/deploy-sql-edge-multi-device.ipynb b/extensions/asde-deployment/notebooks/edge/deploy-sql-edge-multi-device.ipynb index 4af0ac2b21..75f943268b 100644 --- a/extensions/asde-deployment/notebooks/edge/deploy-sql-edge-multi-device.ipynb +++ b/extensions/asde-deployment/notebooks/edge/deploy-sql-edge-multi-device.ipynb @@ -48,13 +48,7 @@ { "cell_type": "code", "source": [ - "import pandas,sys,os,json,html,getpass,time,ntpath,uuid\n", - "pandas_version = pandas.__version__.split('.')\n", - "pandas_major = int(pandas_version[0])\n", - "pandas_minor = int(pandas_version[1])\n", - "pandas_patch = int(pandas_version[2])\n", - "if not (pandas_major > 0 or (pandas_major == 0 and pandas_minor > 24) or (pandas_major == 0 and pandas_minor == 24 and pandas_patch >= 2)):\n", - " sys.exit('Please upgrade the Notebook dependency before you can proceed, you can do it by running the \"Reinstall Notebook dependencies\" command in command palette (View menu -> Command Palette…).')\n", + "import sys,os,json,html,getpass,time,ntpath,uuid\n", "\n", "def run_command(command:str, displayCommand:str = \"\", returnObject:bool = False):\n", " print(\"Executing: \" + (displayCommand if displayCommand != \"\" else command))\n", diff --git a/extensions/asde-deployment/notebooks/edge/deploy-sql-edge-remote.ipynb b/extensions/asde-deployment/notebooks/edge/deploy-sql-edge-remote.ipynb index d2756fb0ea..ea20c86848 100644 --- a/extensions/asde-deployment/notebooks/edge/deploy-sql-edge-remote.ipynb +++ b/extensions/asde-deployment/notebooks/edge/deploy-sql-edge-remote.ipynb @@ -46,13 +46,7 @@ { "cell_type": "code", "source": [ - "import pandas,sys,getpass,os,json,html,time\n", - "pandas_version = pandas.__version__.split('.')\n", - "pandas_major = int(pandas_version[0])\n", - "pandas_minor = int(pandas_version[1])\n", - "pandas_patch = int(pandas_version[2])\n", - "if not (pandas_major > 0 or (pandas_major == 0 and pandas_minor > 24) or (pandas_major == 0 and pandas_minor == 24 and pandas_patch >= 2)):\n", - " sys.exit('Please upgrade the Notebook dependency before you can proceed, you can do it by running the \"Reinstall Notebook dependencies\" command in command palette (View menu -> Command Palette…).')\n", + "import sys,getpass,os,json,html,time\n", "\n", "def run_command():\n", " print(\"Executing: \" + cmd)\n", diff --git a/extensions/asde-deployment/notebooks/edge/deploy-sql-edge-single-device.ipynb b/extensions/asde-deployment/notebooks/edge/deploy-sql-edge-single-device.ipynb index ced2594299..b884733af5 100644 --- a/extensions/asde-deployment/notebooks/edge/deploy-sql-edge-single-device.ipynb +++ b/extensions/asde-deployment/notebooks/edge/deploy-sql-edge-single-device.ipynb @@ -51,13 +51,7 @@ { "cell_type": "code", "source": [ - "import pandas,sys,os,json,html,getpass,time,ntpath,uuid\n", - "pandas_version = pandas.__version__.split('.')\n", - "pandas_major = int(pandas_version[0])\n", - "pandas_minor = int(pandas_version[1])\n", - "pandas_patch = int(pandas_version[2])\n", - "if not (pandas_major > 0 or (pandas_major == 0 and pandas_minor > 24) or (pandas_major == 0 and pandas_minor == 24 and pandas_patch >= 2)):\n", - " sys.exit('Please upgrade the Notebook dependency before you can proceed, you can do it by running the \"Reinstall Notebook dependencies\" command in command palette (View menu -> Command Palette…).')\n", + "import sys,os,json,html,getpass,time,ntpath,uuid\n", "\n", "def run_command(command:str, displayCommand:str = \"\", returnObject:bool = False):\n", " print(\"Executing: \" + (displayCommand if displayCommand != \"\" else command))\n", diff --git a/extensions/azurehybridtoolkit/notebooks/hybridbook/content/ConnectionDialogue.ipynb b/extensions/azurehybridtoolkit/notebooks/hybridbook/content/ConnectionDialogue.ipynb index 28aa16276a..ea451af07f 100644 --- a/extensions/azurehybridtoolkit/notebooks/hybridbook/content/ConnectionDialogue.ipynb +++ b/extensions/azurehybridtoolkit/notebooks/hybridbook/content/ConnectionDialogue.ipynb @@ -23,7 +23,7 @@ { "cell_type": "code", "source": [ - "import pandas,sys,os,getpass,json,html,time\r\n", + "import sys,os,getpass,json,html,time\r\n", "from string import Template" ], "metadata": { diff --git a/extensions/resource-deployment/notebooks/docker/2017/deploy-sql2017-image.ipynb b/extensions/resource-deployment/notebooks/docker/2017/deploy-sql2017-image.ipynb index e1c8580ae5..d6fdd326f6 100644 --- a/extensions/resource-deployment/notebooks/docker/2017/deploy-sql2017-image.ipynb +++ b/extensions/resource-deployment/notebooks/docker/2017/deploy-sql2017-image.ipynb @@ -48,14 +48,8 @@ { "cell_type": "code", "source": [ - "import pandas,sys,os,getpass,json,html,time\n", + "import sys,os,getpass,json,html,time\n", "from string import Template\n", - "pandas_version = pandas.__version__.split('.')\n", - "pandas_major = int(pandas_version[0])\n", - "pandas_minor = int(pandas_version[1])\n", - "pandas_patch = int(pandas_version[2])\n", - "if not (pandas_major > 0 or (pandas_major == 0 and pandas_minor > 24) or (pandas_major == 0 and pandas_minor == 24 and pandas_patch >= 2)):\n", - " sys.exit('Please upgrade the Notebook dependency before you can proceed, you can do it by running the \"Reinstall Notebook dependencies\" command in command palette (View menu -> Command Palette…).')\n", "\n", "def run_command(displayCommand = \"\"):\n", " print(\"Executing: \" + displayCommand if displayCommand != \"\" else cmd)\n", diff --git a/extensions/resource-deployment/notebooks/docker/2019/deploy-sql2019-image.ipynb b/extensions/resource-deployment/notebooks/docker/2019/deploy-sql2019-image.ipynb index ce4c5a065e..01405b0d2c 100644 --- a/extensions/resource-deployment/notebooks/docker/2019/deploy-sql2019-image.ipynb +++ b/extensions/resource-deployment/notebooks/docker/2019/deploy-sql2019-image.ipynb @@ -48,14 +48,8 @@ { "cell_type": "code", "source": [ - "import pandas,sys,os,getpass,json,html,time\n", + "import sys,os,getpass,json,html,time\n", "from string import Template\n", - "pandas_version = pandas.__version__.split('.')\n", - "pandas_major = int(pandas_version[0])\n", - "pandas_minor = int(pandas_version[1])\n", - "pandas_patch = int(pandas_version[2])\n", - "if not (pandas_major > 0 or (pandas_major == 0 and pandas_minor > 24) or (pandas_major == 0 and pandas_minor == 24 and pandas_patch >= 2)):\n", - " sys.exit('Please upgrade the Notebook dependency before you can proceed, you can do it by running the \"Reinstall Notebook dependencies\" command in command palette (View menu -> Command Palette…).')\n", "\n", "def run_command(displayCommand = \"\"):\n", " print(\"Executing: \" + displayCommand if displayCommand != \"\" else cmd)\n",