{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "from seeq import spy\n",
    "import pandas as pd\n",
    "import numpy as np"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div style=\"background-color: #EEFFEE;text-align: left;\">Logged in to <strong>http://localhost:34216</strong> successfully as <strong>agent_api_key</strong>.<br>Seeq Server Version: <strong>R22.0.48.10-BETA</strong><br>Seeq Python Module Version: <strong>0.48.10.168</strong></div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# Log into Seeq Server if you're not using Seeq Data Lab:\n",
    "spy.login(url='http://localhost:34216', credentials_file='../../credentials.key', force=False)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [],
   "source": [
    "from seeq.spy.assets import Asset\n",
    "\n",
    "class Area(Asset):\n",
    "    def initialize(self):\n",
    "        # These are effectively x,y coordinates proportional to the\n",
    "        # map of the U.S. in this folder.\n",
    "        map_positions = {\n",
    "            # Cooling Tower 1\n",
    "            'A': ['15%', '4%'],\n",
    "            'B': ['45%', '60%'],\n",
    "            'C': ['35%', '35%'],\n",
    "            'G': ['70%', '60%'],\n",
    "            'H': ['32%', '80%'],\n",
    "            'I': ['55%', '40%'],\n",
    "            'J': ['15%', '34%'],\n",
    "            'K': ['80%', '6%'],\n",
    "            \n",
    "            # Cooling Tower 2\n",
    "            'D': ['40%', '50%'],\n",
    "            'E': ['50%', '60%'],\n",
    "            'F': ['60%', '70%']\n",
    "        }\n",
    "        \n",
    "        self.map_position = map_positions[self['Name']]\n",
    "    \n",
    "    @Asset.Attribute()\n",
    "    def Incidents(self, metadata):\n",
    "        return {\n",
    "            'Type': 'Condition',\n",
    "            'Formula': '$a.validValues().valueSearch(isGreaterThan(120))',\n",
    "            'Formula Parameters': {\n",
    "                '$a': metadata[metadata['Name'] == 'Temperature']\n",
    "            }\n",
    "        }\n",
    "    \n",
    "    @Asset.Attribute()\n",
    "    def Incident_Count(self, metadata):\n",
    "        return {\n",
    "            'Type': 'Metric',\n",
    "            'Measured Item': self.Incidents(),\n",
    "            'Measured Item Maximum Duration': '40d',\n",
    "            'Statistic': 'count',\n",
    "            'Thresholds': {\n",
    "                'HiHiHi': 1,\n",
    "                'HiHi': 0\n",
    "            }\n",
    "        }\n",
    "    \n",
    "    @Asset.Display()\n",
    "    def Incident_Display(self, metadata, analysis):\n",
    "        worksheet = analysis.worksheet('Area ' + self.definition['Name'])\n",
    "        \n",
    "        workstep = worksheet.workstep()\n",
    "        workstep.display_items = [{\n",
    "            'Item': self.Incident_Count()\n",
    "        }]\n",
    "        workstep.view = 'Scorecard'\n",
    "        workstep.data['state']['stores']['sqTrendMetricStore']['scorecardHeaders'] = {\n",
    "          \"type\": \"none\"\n",
    "        }\n",
    "        workstep.data['state']['stores']['sqTrendMetricStore']['scorecardColumns'] = list()\n",
    "        \n",
    "        return workstep\n",
    "    \n",
    "    @Asset.Display()\n",
    "    def Detail(self, metadata, analysis):\n",
    "        worksheet = analysis.worksheet('Area ' + self.definition['Name'])\n",
    "        \n",
    "        workstep = worksheet.workstep()\n",
    "        workstep.display_items = metadata[metadata['Name'] == 'Temperature']\n",
    "        workstep.view = 'Trend'\n",
    "        \n",
    "        return workstep\n",
    "\n",
    "class Cooling_Tower(Asset):\n",
    "    @Asset.Component()\n",
    "    def Areas(self, metadata):\n",
    "        return self.build_components(Area, metadata, column_name='Area')\n",
    "    \n",
    "    @Asset.DateRange()\n",
    "    def Last_Two_Months(self, metadata):\n",
    "        return {\n",
    "            'Start': '2019-11-01',\n",
    "            'End': '2020-01-01'\n",
    "        }\n",
    "    \n",
    "    @Asset.DateRange()\n",
    "    def Last_Week(self, metadata):\n",
    "        return {\n",
    "            'Start': '2020-01-01',\n",
    "            'End': '2020-01-08'\n",
    "        }\n",
    "        \n",
    "    @Asset.Document()\n",
    "    def Topic_Document(self, metadata, topic):\n",
    "        document = topic.document('Cooling Tower ' + self.definition['Name'])\n",
    "        document.render_template(filename='Cooling_Tower_Health.html', asset=self)\n",
    "        \n",
    "class Region(Asset):    \n",
    "    @Asset.Component()\n",
    "    def Cooling_Towers(self, metadata):\n",
    "        return self.build_components(Cooling_Tower, metadata, column_name='Cooling Tower')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div style=\"background-color: #EEFFEE;text-align: left;\">Query successful</div><table><tr><td style=\"background-color: #EEFFEE;\"></td><td style=\"background-color: #EEFFEE;\">Path</td><td style=\"background-color: #EEFFEE;\">Type</td><td style=\"background-color: #EEFFEE;\">Name</td><td style=\"background-color: #EEFFEE;\">Time</td><td style=\"background-color: #EEFFEE;\">Count</td><td style=\"background-color: #EEFFEE;\">Result</td></tr><tr style=\"background-color: #EEFFEE;\"><td>0</td><td>Example</td><td>Signal</td><td>Temperature</td><td>00:00:00.03</td><td>10</td><td>Success</td></tr></table>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>ID</th>\n",
       "      <th>Path</th>\n",
       "      <th>Asset</th>\n",
       "      <th>Name</th>\n",
       "      <th>Description</th>\n",
       "      <th>Type</th>\n",
       "      <th>Value Unit Of Measure</th>\n",
       "      <th>Datasource Name</th>\n",
       "      <th>Archived</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>431DDA45-599F-48A0-B372-B7F6D3CB7950</td>\n",
       "      <td>Example &gt;&gt; Cooling Tower 2</td>\n",
       "      <td>Area D</td>\n",
       "      <td>Temperature</td>\n",
       "      <td>NaN</td>\n",
       "      <td>StoredSignal</td>\n",
       "      <td>°F</td>\n",
       "      <td>Example Data</td>\n",
       "      <td>False</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>E7D596B8-EBEA-499D-9F34-7B757924DA77</td>\n",
       "      <td>Example &gt;&gt; Cooling Tower 1</td>\n",
       "      <td>Area I</td>\n",
       "      <td>Temperature</td>\n",
       "      <td>NaN</td>\n",
       "      <td>StoredSignal</td>\n",
       "      <td>°F</td>\n",
       "      <td>Example Data</td>\n",
       "      <td>False</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>AACE5B6B-072D-4871-B23D-9DF5A34949C2</td>\n",
       "      <td>Example &gt;&gt; Cooling Tower 1</td>\n",
       "      <td>Area C</td>\n",
       "      <td>Temperature</td>\n",
       "      <td>NaN</td>\n",
       "      <td>StoredSignal</td>\n",
       "      <td>°F</td>\n",
       "      <td>Example Data</td>\n",
       "      <td>False</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>53084E49-A1B4-41D1-AFCA-B5F59050E86F</td>\n",
       "      <td>Example &gt;&gt; Cooling Tower 1</td>\n",
       "      <td>Area G</td>\n",
       "      <td>Temperature</td>\n",
       "      <td>NaN</td>\n",
       "      <td>StoredSignal</td>\n",
       "      <td>°F</td>\n",
       "      <td>Example Data</td>\n",
       "      <td>False</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>2BC6CBB0-D5D8-487F-BF24-FAC90B3A06B6</td>\n",
       "      <td>Example &gt;&gt; Cooling Tower 1</td>\n",
       "      <td>Area K</td>\n",
       "      <td>Temperature</td>\n",
       "      <td>NaN</td>\n",
       "      <td>StoredSignal</td>\n",
       "      <td>°F</td>\n",
       "      <td>Example Data</td>\n",
       "      <td>False</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>EFF0535A-D724-41AF-AB1E-44180E7B28C1</td>\n",
       "      <td>Example &gt;&gt; Cooling Tower 1</td>\n",
       "      <td>Area J</td>\n",
       "      <td>Temperature</td>\n",
       "      <td>NaN</td>\n",
       "      <td>StoredSignal</td>\n",
       "      <td>°F</td>\n",
       "      <td>Example Data</td>\n",
       "      <td>False</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>EA9C0B72-48B4-4C9D-9D5B-5622D180AF26</td>\n",
       "      <td>Example &gt;&gt; Cooling Tower 1</td>\n",
       "      <td>Area A</td>\n",
       "      <td>Temperature</td>\n",
       "      <td>NaN</td>\n",
       "      <td>StoredSignal</td>\n",
       "      <td>°F</td>\n",
       "      <td>Example Data</td>\n",
       "      <td>False</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>B2FE2617-1603-4C84-99F3-AF6C4FC867FB</td>\n",
       "      <td>Example &gt;&gt; Cooling Tower 2</td>\n",
       "      <td>Area E</td>\n",
       "      <td>Temperature</td>\n",
       "      <td>NaN</td>\n",
       "      <td>StoredSignal</td>\n",
       "      <td>°F</td>\n",
       "      <td>Example Data</td>\n",
       "      <td>False</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>EA021BE4-D11E-4505-8E85-8029F24793D9</td>\n",
       "      <td>Example &gt;&gt; Cooling Tower 1</td>\n",
       "      <td>Area H</td>\n",
       "      <td>Temperature</td>\n",
       "      <td>NaN</td>\n",
       "      <td>StoredSignal</td>\n",
       "      <td>°F</td>\n",
       "      <td>Example Data</td>\n",
       "      <td>False</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>ED418D42-2E2A-46D9-A1DD-D2815234D915</td>\n",
       "      <td>Example &gt;&gt; Cooling Tower 1</td>\n",
       "      <td>Area B</td>\n",
       "      <td>Temperature</td>\n",
       "      <td>NaN</td>\n",
       "      <td>StoredSignal</td>\n",
       "      <td>°F</td>\n",
       "      <td>Example Data</td>\n",
       "      <td>False</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                     ID                        Path   Asset  \\\n",
       "0  431DDA45-599F-48A0-B372-B7F6D3CB7950  Example >> Cooling Tower 2  Area D   \n",
       "1  E7D596B8-EBEA-499D-9F34-7B757924DA77  Example >> Cooling Tower 1  Area I   \n",
       "2  AACE5B6B-072D-4871-B23D-9DF5A34949C2  Example >> Cooling Tower 1  Area C   \n",
       "3  53084E49-A1B4-41D1-AFCA-B5F59050E86F  Example >> Cooling Tower 1  Area G   \n",
       "4  2BC6CBB0-D5D8-487F-BF24-FAC90B3A06B6  Example >> Cooling Tower 1  Area K   \n",
       "5  EFF0535A-D724-41AF-AB1E-44180E7B28C1  Example >> Cooling Tower 1  Area J   \n",
       "6  EA9C0B72-48B4-4C9D-9D5B-5622D180AF26  Example >> Cooling Tower 1  Area A   \n",
       "7  B2FE2617-1603-4C84-99F3-AF6C4FC867FB  Example >> Cooling Tower 2  Area E   \n",
       "8  EA021BE4-D11E-4505-8E85-8029F24793D9  Example >> Cooling Tower 1  Area H   \n",
       "9  ED418D42-2E2A-46D9-A1DD-D2815234D915  Example >> Cooling Tower 1  Area B   \n",
       "\n",
       "          Name  Description          Type Value Unit Of Measure  \\\n",
       "0  Temperature          NaN  StoredSignal                    °F   \n",
       "1  Temperature          NaN  StoredSignal                    °F   \n",
       "2  Temperature          NaN  StoredSignal                    °F   \n",
       "3  Temperature          NaN  StoredSignal                    °F   \n",
       "4  Temperature          NaN  StoredSignal                    °F   \n",
       "5  Temperature          NaN  StoredSignal                    °F   \n",
       "6  Temperature          NaN  StoredSignal                    °F   \n",
       "7  Temperature          NaN  StoredSignal                    °F   \n",
       "8  Temperature          NaN  StoredSignal                    °F   \n",
       "9  Temperature          NaN  StoredSignal                    °F   \n",
       "\n",
       "  Datasource Name  Archived  \n",
       "0    Example Data     False  \n",
       "1    Example Data     False  \n",
       "2    Example Data     False  \n",
       "3    Example Data     False  \n",
       "4    Example Data     False  \n",
       "5    Example Data     False  \n",
       "6    Example Data     False  \n",
       "7    Example Data     False  \n",
       "8    Example Data     False  \n",
       "9    Example Data     False  "
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "search_df = spy.search({\n",
    "    'Path': 'Example >> Cooling Tower ? >> /Area [A-K]/',\n",
    "    'Type': 'Signal',\n",
    "    'Name': 'Temperature'})\n",
    "\n",
    "search_df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>ID</th>\n",
       "      <th>Path</th>\n",
       "      <th>Asset</th>\n",
       "      <th>Name</th>\n",
       "      <th>Description</th>\n",
       "      <th>Type</th>\n",
       "      <th>Value Unit Of Measure</th>\n",
       "      <th>Datasource Name</th>\n",
       "      <th>Archived</th>\n",
       "      <th>Cooling Tower</th>\n",
       "      <th>Area</th>\n",
       "      <th>Build Path</th>\n",
       "      <th>Build Asset</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>431DDA45-599F-48A0-B372-B7F6D3CB7950</td>\n",
       "      <td>Example &gt;&gt; Cooling Tower 2</td>\n",
       "      <td>Area D</td>\n",
       "      <td>Temperature</td>\n",
       "      <td>NaN</td>\n",
       "      <td>StoredSignal</td>\n",
       "      <td>°F</td>\n",
       "      <td>Example Data</td>\n",
       "      <td>False</td>\n",
       "      <td>2</td>\n",
       "      <td>D</td>\n",
       "      <td>Cooling Tower Health</td>\n",
       "      <td>North America</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>E7D596B8-EBEA-499D-9F34-7B757924DA77</td>\n",
       "      <td>Example &gt;&gt; Cooling Tower 1</td>\n",
       "      <td>Area I</td>\n",
       "      <td>Temperature</td>\n",
       "      <td>NaN</td>\n",
       "      <td>StoredSignal</td>\n",
       "      <td>°F</td>\n",
       "      <td>Example Data</td>\n",
       "      <td>False</td>\n",
       "      <td>1</td>\n",
       "      <td>I</td>\n",
       "      <td>Cooling Tower Health</td>\n",
       "      <td>North America</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>AACE5B6B-072D-4871-B23D-9DF5A34949C2</td>\n",
       "      <td>Example &gt;&gt; Cooling Tower 1</td>\n",
       "      <td>Area C</td>\n",
       "      <td>Temperature</td>\n",
       "      <td>NaN</td>\n",
       "      <td>StoredSignal</td>\n",
       "      <td>°F</td>\n",
       "      <td>Example Data</td>\n",
       "      <td>False</td>\n",
       "      <td>1</td>\n",
       "      <td>C</td>\n",
       "      <td>Cooling Tower Health</td>\n",
       "      <td>North America</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>53084E49-A1B4-41D1-AFCA-B5F59050E86F</td>\n",
       "      <td>Example &gt;&gt; Cooling Tower 1</td>\n",
       "      <td>Area G</td>\n",
       "      <td>Temperature</td>\n",
       "      <td>NaN</td>\n",
       "      <td>StoredSignal</td>\n",
       "      <td>°F</td>\n",
       "      <td>Example Data</td>\n",
       "      <td>False</td>\n",
       "      <td>1</td>\n",
       "      <td>G</td>\n",
       "      <td>Cooling Tower Health</td>\n",
       "      <td>North America</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>2BC6CBB0-D5D8-487F-BF24-FAC90B3A06B6</td>\n",
       "      <td>Example &gt;&gt; Cooling Tower 1</td>\n",
       "      <td>Area K</td>\n",
       "      <td>Temperature</td>\n",
       "      <td>NaN</td>\n",
       "      <td>StoredSignal</td>\n",
       "      <td>°F</td>\n",
       "      <td>Example Data</td>\n",
       "      <td>False</td>\n",
       "      <td>1</td>\n",
       "      <td>K</td>\n",
       "      <td>Cooling Tower Health</td>\n",
       "      <td>North America</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>EFF0535A-D724-41AF-AB1E-44180E7B28C1</td>\n",
       "      <td>Example &gt;&gt; Cooling Tower 1</td>\n",
       "      <td>Area J</td>\n",
       "      <td>Temperature</td>\n",
       "      <td>NaN</td>\n",
       "      <td>StoredSignal</td>\n",
       "      <td>°F</td>\n",
       "      <td>Example Data</td>\n",
       "      <td>False</td>\n",
       "      <td>1</td>\n",
       "      <td>J</td>\n",
       "      <td>Cooling Tower Health</td>\n",
       "      <td>North America</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>EA9C0B72-48B4-4C9D-9D5B-5622D180AF26</td>\n",
       "      <td>Example &gt;&gt; Cooling Tower 1</td>\n",
       "      <td>Area A</td>\n",
       "      <td>Temperature</td>\n",
       "      <td>NaN</td>\n",
       "      <td>StoredSignal</td>\n",
       "      <td>°F</td>\n",
       "      <td>Example Data</td>\n",
       "      <td>False</td>\n",
       "      <td>1</td>\n",
       "      <td>A</td>\n",
       "      <td>Cooling Tower Health</td>\n",
       "      <td>North America</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>B2FE2617-1603-4C84-99F3-AF6C4FC867FB</td>\n",
       "      <td>Example &gt;&gt; Cooling Tower 2</td>\n",
       "      <td>Area E</td>\n",
       "      <td>Temperature</td>\n",
       "      <td>NaN</td>\n",
       "      <td>StoredSignal</td>\n",
       "      <td>°F</td>\n",
       "      <td>Example Data</td>\n",
       "      <td>False</td>\n",
       "      <td>2</td>\n",
       "      <td>E</td>\n",
       "      <td>Cooling Tower Health</td>\n",
       "      <td>North America</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>EA021BE4-D11E-4505-8E85-8029F24793D9</td>\n",
       "      <td>Example &gt;&gt; Cooling Tower 1</td>\n",
       "      <td>Area H</td>\n",
       "      <td>Temperature</td>\n",
       "      <td>NaN</td>\n",
       "      <td>StoredSignal</td>\n",
       "      <td>°F</td>\n",
       "      <td>Example Data</td>\n",
       "      <td>False</td>\n",
       "      <td>1</td>\n",
       "      <td>H</td>\n",
       "      <td>Cooling Tower Health</td>\n",
       "      <td>North America</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>ED418D42-2E2A-46D9-A1DD-D2815234D915</td>\n",
       "      <td>Example &gt;&gt; Cooling Tower 1</td>\n",
       "      <td>Area B</td>\n",
       "      <td>Temperature</td>\n",
       "      <td>NaN</td>\n",
       "      <td>StoredSignal</td>\n",
       "      <td>°F</td>\n",
       "      <td>Example Data</td>\n",
       "      <td>False</td>\n",
       "      <td>1</td>\n",
       "      <td>B</td>\n",
       "      <td>Cooling Tower Health</td>\n",
       "      <td>North America</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                     ID                        Path   Asset  \\\n",
       "0  431DDA45-599F-48A0-B372-B7F6D3CB7950  Example >> Cooling Tower 2  Area D   \n",
       "1  E7D596B8-EBEA-499D-9F34-7B757924DA77  Example >> Cooling Tower 1  Area I   \n",
       "2  AACE5B6B-072D-4871-B23D-9DF5A34949C2  Example >> Cooling Tower 1  Area C   \n",
       "3  53084E49-A1B4-41D1-AFCA-B5F59050E86F  Example >> Cooling Tower 1  Area G   \n",
       "4  2BC6CBB0-D5D8-487F-BF24-FAC90B3A06B6  Example >> Cooling Tower 1  Area K   \n",
       "5  EFF0535A-D724-41AF-AB1E-44180E7B28C1  Example >> Cooling Tower 1  Area J   \n",
       "6  EA9C0B72-48B4-4C9D-9D5B-5622D180AF26  Example >> Cooling Tower 1  Area A   \n",
       "7  B2FE2617-1603-4C84-99F3-AF6C4FC867FB  Example >> Cooling Tower 2  Area E   \n",
       "8  EA021BE4-D11E-4505-8E85-8029F24793D9  Example >> Cooling Tower 1  Area H   \n",
       "9  ED418D42-2E2A-46D9-A1DD-D2815234D915  Example >> Cooling Tower 1  Area B   \n",
       "\n",
       "          Name  Description          Type Value Unit Of Measure  \\\n",
       "0  Temperature          NaN  StoredSignal                    °F   \n",
       "1  Temperature          NaN  StoredSignal                    °F   \n",
       "2  Temperature          NaN  StoredSignal                    °F   \n",
       "3  Temperature          NaN  StoredSignal                    °F   \n",
       "4  Temperature          NaN  StoredSignal                    °F   \n",
       "5  Temperature          NaN  StoredSignal                    °F   \n",
       "6  Temperature          NaN  StoredSignal                    °F   \n",
       "7  Temperature          NaN  StoredSignal                    °F   \n",
       "8  Temperature          NaN  StoredSignal                    °F   \n",
       "9  Temperature          NaN  StoredSignal                    °F   \n",
       "\n",
       "  Datasource Name  Archived Cooling Tower Area            Build Path  \\\n",
       "0    Example Data     False             2    D  Cooling Tower Health   \n",
       "1    Example Data     False             1    I  Cooling Tower Health   \n",
       "2    Example Data     False             1    C  Cooling Tower Health   \n",
       "3    Example Data     False             1    G  Cooling Tower Health   \n",
       "4    Example Data     False             1    K  Cooling Tower Health   \n",
       "5    Example Data     False             1    J  Cooling Tower Health   \n",
       "6    Example Data     False             1    A  Cooling Tower Health   \n",
       "7    Example Data     False             2    E  Cooling Tower Health   \n",
       "8    Example Data     False             1    H  Cooling Tower Health   \n",
       "9    Example Data     False             1    B  Cooling Tower Health   \n",
       "\n",
       "     Build Asset  \n",
       "0  North America  \n",
       "1  North America  \n",
       "2  North America  \n",
       "3  North America  \n",
       "4  North America  \n",
       "5  North America  \n",
       "6  North America  \n",
       "7  North America  \n",
       "8  North America  \n",
       "9  North America  "
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "metadata_df = search_df.copy()\n",
    "metadata_df['Cooling Tower'] = metadata_df['Path'].str.extract(r'Cooling Tower (\\d)')\n",
    "metadata_df['Area'] = metadata_df['Asset'].str.extract(r'Area (\\w)')\n",
    "metadata_df['Build Path'] = 'Cooling Tower Health'\n",
    "metadata_df['Build Asset'] = 'North America'\n",
    "metadata_df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Type</th>\n",
       "      <th>Formula</th>\n",
       "      <th>Formula Parameters</th>\n",
       "      <th>Name</th>\n",
       "      <th>Asset</th>\n",
       "      <th>Asset Object</th>\n",
       "      <th>Path</th>\n",
       "      <th>Template</th>\n",
       "      <th>Build Result</th>\n",
       "      <th>Measured Item</th>\n",
       "      <th>Measured Item Maximum Duration</th>\n",
       "      <th>Statistic</th>\n",
       "      <th>Thresholds</th>\n",
       "      <th>Workbook Type</th>\n",
       "      <th>Object</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>Condition</td>\n",
       "      <td>$a.validValues().valueSearch(isGreaterThan(120))</td>\n",
       "      <td>{'$a': ['ID']}</td>\n",
       "      <td>Incidents</td>\n",
       "      <td>D</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2 &gt;&gt; D</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Metric</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Incident Count</td>\n",
       "      <td>D</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2 &gt;&gt; D</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>{'Type': 'Condition', 'Formula': '$a.validValu...</td>\n",
       "      <td>40d</td>\n",
       "      <td>count</td>\n",
       "      <td>{'HiHiHi': 1, 'HiHi': 0}</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2 &gt;&gt; D</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>Condition</td>\n",
       "      <td>$a.validValues().valueSearch(isGreaterThan(120))</td>\n",
       "      <td>{'$a': ['ID']}</td>\n",
       "      <td>Incidents</td>\n",
       "      <td>E</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2 &gt;&gt; E</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>Metric</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Incident Count</td>\n",
       "      <td>E</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2 &gt;&gt; E</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>{'Type': 'Condition', 'Formula': '$a.validValu...</td>\n",
       "      <td>40d</td>\n",
       "      <td>count</td>\n",
       "      <td>{'HiHiHi': 1, 'HiHi': 0}</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>E</td>\n",
       "      <td>E</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2 &gt;&gt; E</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America</td>\n",
       "      <td>Cooling Tower</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>Condition</td>\n",
       "      <td>$a.validValues().valueSearch(isGreaterThan(120))</td>\n",
       "      <td>{'$a': ['ID']}</td>\n",
       "      <td>Incidents</td>\n",
       "      <td>I</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; I</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>Metric</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Incident Count</td>\n",
       "      <td>I</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; I</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>{'Type': 'Condition', 'Formula': '$a.validValu...</td>\n",
       "      <td>40d</td>\n",
       "      <td>count</td>\n",
       "      <td>{'HiHiHi': 1, 'HiHi': 0}</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I</td>\n",
       "      <td>I</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; I</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>Condition</td>\n",
       "      <td>$a.validValues().valueSearch(isGreaterThan(120))</td>\n",
       "      <td>{'$a': ['ID']}</td>\n",
       "      <td>Incidents</td>\n",
       "      <td>C</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; C</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>Metric</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Incident Count</td>\n",
       "      <td>C</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; C</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>{'Type': 'Condition', 'Formula': '$a.validValu...</td>\n",
       "      <td>40d</td>\n",
       "      <td>count</td>\n",
       "      <td>{'HiHiHi': 1, 'HiHi': 0}</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>C</td>\n",
       "      <td>C</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; C</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>Condition</td>\n",
       "      <td>$a.validValues().valueSearch(isGreaterThan(120))</td>\n",
       "      <td>{'$a': ['ID']}</td>\n",
       "      <td>Incidents</td>\n",
       "      <td>G</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; G</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>Metric</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Incident Count</td>\n",
       "      <td>G</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; G</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>{'Type': 'Condition', 'Formula': '$a.validValu...</td>\n",
       "      <td>40d</td>\n",
       "      <td>count</td>\n",
       "      <td>{'HiHiHi': 1, 'HiHi': 0}</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>G</td>\n",
       "      <td>G</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; G</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>Condition</td>\n",
       "      <td>$a.validValues().valueSearch(isGreaterThan(120))</td>\n",
       "      <td>{'$a': ['ID']}</td>\n",
       "      <td>Incidents</td>\n",
       "      <td>K</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; K</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>Metric</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Incident Count</td>\n",
       "      <td>K</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; K</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>{'Type': 'Condition', 'Formula': '$a.validValu...</td>\n",
       "      <td>40d</td>\n",
       "      <td>count</td>\n",
       "      <td>{'HiHiHi': 1, 'HiHi': 0}</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>K</td>\n",
       "      <td>K</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; K</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>Condition</td>\n",
       "      <td>$a.validValues().valueSearch(isGreaterThan(120))</td>\n",
       "      <td>{'$a': ['ID']}</td>\n",
       "      <td>Incidents</td>\n",
       "      <td>J</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; J</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>Metric</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Incident Count</td>\n",
       "      <td>J</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; J</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>{'Type': 'Condition', 'Formula': '$a.validValu...</td>\n",
       "      <td>40d</td>\n",
       "      <td>count</td>\n",
       "      <td>{'HiHiHi': 1, 'HiHi': 0}</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>J</td>\n",
       "      <td>J</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; J</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>Condition</td>\n",
       "      <td>$a.validValues().valueSearch(isGreaterThan(120))</td>\n",
       "      <td>{'$a': ['ID']}</td>\n",
       "      <td>Incidents</td>\n",
       "      <td>A</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; A</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>Metric</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Incident Count</td>\n",
       "      <td>A</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; A</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>{'Type': 'Condition', 'Formula': '$a.validValu...</td>\n",
       "      <td>40d</td>\n",
       "      <td>count</td>\n",
       "      <td>{'HiHiHi': 1, 'HiHi': 0}</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>A</td>\n",
       "      <td>A</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; A</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>Condition</td>\n",
       "      <td>$a.validValues().valueSearch(isGreaterThan(120))</td>\n",
       "      <td>{'$a': ['ID']}</td>\n",
       "      <td>Incidents</td>\n",
       "      <td>H</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; H</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>Metric</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Incident Count</td>\n",
       "      <td>H</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; H</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>{'Type': 'Condition', 'Formula': '$a.validValu...</td>\n",
       "      <td>40d</td>\n",
       "      <td>count</td>\n",
       "      <td>{'HiHiHi': 1, 'HiHi': 0}</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>H</td>\n",
       "      <td>H</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; H</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>Condition</td>\n",
       "      <td>$a.validValues().valueSearch(isGreaterThan(120))</td>\n",
       "      <td>{'$a': ['ID']}</td>\n",
       "      <td>Incidents</td>\n",
       "      <td>B</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; B</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>Metric</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Incident Count</td>\n",
       "      <td>B</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; B</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>{'Type': 'Condition', 'Formula': '$a.validValu...</td>\n",
       "      <td>40d</td>\n",
       "      <td>count</td>\n",
       "      <td>{'HiHiHi': 1, 'HiHi': 0}</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>B</td>\n",
       "      <td>B</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; B</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America</td>\n",
       "      <td>Cooling Tower</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>32</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>North America</td>\n",
       "      <td>North America</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America</td>\n",
       "      <td>Cooling Tower Health</td>\n",
       "      <td>Region</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33</th>\n",
       "      <td>Workbook</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Analysis</td>\n",
       "      <td>Workbook \"None\" (E59D220C-59D7-432E-9BAF-097EA...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34</th>\n",
       "      <td>Workbook</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Topic</td>\n",
       "      <td>Workbook \"None\" (DDC0585D-3C6A-4949-8B16-91189...</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "         Type                                           Formula  \\\n",
       "0   Condition  $a.validValues().valueSearch(isGreaterThan(120))   \n",
       "1      Metric                                               NaN   \n",
       "2       Asset                                               NaN   \n",
       "3   Condition  $a.validValues().valueSearch(isGreaterThan(120))   \n",
       "4      Metric                                               NaN   \n",
       "5       Asset                                               NaN   \n",
       "6       Asset                                               NaN   \n",
       "7   Condition  $a.validValues().valueSearch(isGreaterThan(120))   \n",
       "8      Metric                                               NaN   \n",
       "9       Asset                                               NaN   \n",
       "10  Condition  $a.validValues().valueSearch(isGreaterThan(120))   \n",
       "11     Metric                                               NaN   \n",
       "12      Asset                                               NaN   \n",
       "13  Condition  $a.validValues().valueSearch(isGreaterThan(120))   \n",
       "14     Metric                                               NaN   \n",
       "15      Asset                                               NaN   \n",
       "16  Condition  $a.validValues().valueSearch(isGreaterThan(120))   \n",
       "17     Metric                                               NaN   \n",
       "18      Asset                                               NaN   \n",
       "19  Condition  $a.validValues().valueSearch(isGreaterThan(120))   \n",
       "20     Metric                                               NaN   \n",
       "21      Asset                                               NaN   \n",
       "22  Condition  $a.validValues().valueSearch(isGreaterThan(120))   \n",
       "23     Metric                                               NaN   \n",
       "24      Asset                                               NaN   \n",
       "25  Condition  $a.validValues().valueSearch(isGreaterThan(120))   \n",
       "26     Metric                                               NaN   \n",
       "27      Asset                                               NaN   \n",
       "28  Condition  $a.validValues().valueSearch(isGreaterThan(120))   \n",
       "29     Metric                                               NaN   \n",
       "30      Asset                                               NaN   \n",
       "31      Asset                                               NaN   \n",
       "32      Asset                                               NaN   \n",
       "33   Workbook                                               NaN   \n",
       "34   Workbook                                               NaN   \n",
       "\n",
       "   Formula Parameters            Name          Asset  \\\n",
       "0      {'$a': ['ID']}       Incidents              D   \n",
       "1                 NaN  Incident Count              D   \n",
       "2                 NaN               D              D   \n",
       "3      {'$a': ['ID']}       Incidents              E   \n",
       "4                 NaN  Incident Count              E   \n",
       "5                 NaN               E              E   \n",
       "6                 NaN               2              2   \n",
       "7      {'$a': ['ID']}       Incidents              I   \n",
       "8                 NaN  Incident Count              I   \n",
       "9                 NaN               I              I   \n",
       "10     {'$a': ['ID']}       Incidents              C   \n",
       "11                NaN  Incident Count              C   \n",
       "12                NaN               C              C   \n",
       "13     {'$a': ['ID']}       Incidents              G   \n",
       "14                NaN  Incident Count              G   \n",
       "15                NaN               G              G   \n",
       "16     {'$a': ['ID']}       Incidents              K   \n",
       "17                NaN  Incident Count              K   \n",
       "18                NaN               K              K   \n",
       "19     {'$a': ['ID']}       Incidents              J   \n",
       "20                NaN  Incident Count              J   \n",
       "21                NaN               J              J   \n",
       "22     {'$a': ['ID']}       Incidents              A   \n",
       "23                NaN  Incident Count              A   \n",
       "24                NaN               A              A   \n",
       "25     {'$a': ['ID']}       Incidents              H   \n",
       "26                NaN  Incident Count              H   \n",
       "27                NaN               H              H   \n",
       "28     {'$a': ['ID']}       Incidents              B   \n",
       "29                NaN  Incident Count              B   \n",
       "30                NaN               B              B   \n",
       "31                NaN               1              1   \n",
       "32                NaN   North America  North America   \n",
       "33                NaN            None            NaN   \n",
       "34                NaN            None            NaN   \n",
       "\n",
       "                                       Asset Object  \\\n",
       "0   Cooling Tower Health >> North America >> 2 >> D   \n",
       "1   Cooling Tower Health >> North America >> 2 >> D   \n",
       "2   Cooling Tower Health >> North America >> 2 >> D   \n",
       "3   Cooling Tower Health >> North America >> 2 >> E   \n",
       "4   Cooling Tower Health >> North America >> 2 >> E   \n",
       "5   Cooling Tower Health >> North America >> 2 >> E   \n",
       "6        Cooling Tower Health >> North America >> 2   \n",
       "7   Cooling Tower Health >> North America >> 1 >> I   \n",
       "8   Cooling Tower Health >> North America >> 1 >> I   \n",
       "9   Cooling Tower Health >> North America >> 1 >> I   \n",
       "10  Cooling Tower Health >> North America >> 1 >> C   \n",
       "11  Cooling Tower Health >> North America >> 1 >> C   \n",
       "12  Cooling Tower Health >> North America >> 1 >> C   \n",
       "13  Cooling Tower Health >> North America >> 1 >> G   \n",
       "14  Cooling Tower Health >> North America >> 1 >> G   \n",
       "15  Cooling Tower Health >> North America >> 1 >> G   \n",
       "16  Cooling Tower Health >> North America >> 1 >> K   \n",
       "17  Cooling Tower Health >> North America >> 1 >> K   \n",
       "18  Cooling Tower Health >> North America >> 1 >> K   \n",
       "19  Cooling Tower Health >> North America >> 1 >> J   \n",
       "20  Cooling Tower Health >> North America >> 1 >> J   \n",
       "21  Cooling Tower Health >> North America >> 1 >> J   \n",
       "22  Cooling Tower Health >> North America >> 1 >> A   \n",
       "23  Cooling Tower Health >> North America >> 1 >> A   \n",
       "24  Cooling Tower Health >> North America >> 1 >> A   \n",
       "25  Cooling Tower Health >> North America >> 1 >> H   \n",
       "26  Cooling Tower Health >> North America >> 1 >> H   \n",
       "27  Cooling Tower Health >> North America >> 1 >> H   \n",
       "28  Cooling Tower Health >> North America >> 1 >> B   \n",
       "29  Cooling Tower Health >> North America >> 1 >> B   \n",
       "30  Cooling Tower Health >> North America >> 1 >> B   \n",
       "31       Cooling Tower Health >> North America >> 1   \n",
       "32            Cooling Tower Health >> North America   \n",
       "33                                              NaN   \n",
       "34                                              NaN   \n",
       "\n",
       "                                          Path       Template Build Result  \\\n",
       "0   Cooling Tower Health >> North America >> 2           Area      Success   \n",
       "1   Cooling Tower Health >> North America >> 2           Area      Success   \n",
       "2   Cooling Tower Health >> North America >> 2           Area      Success   \n",
       "3   Cooling Tower Health >> North America >> 2           Area      Success   \n",
       "4   Cooling Tower Health >> North America >> 2           Area      Success   \n",
       "5   Cooling Tower Health >> North America >> 2           Area      Success   \n",
       "6        Cooling Tower Health >> North America  Cooling Tower      Success   \n",
       "7   Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "8   Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "9   Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "10  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "11  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "12  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "13  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "14  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "15  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "16  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "17  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "18  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "19  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "20  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "21  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "22  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "23  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "24  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "25  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "26  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "27  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "28  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "29  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "30  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "31       Cooling Tower Health >> North America  Cooling Tower      Success   \n",
       "32                        Cooling Tower Health         Region      Success   \n",
       "33                                         NaN            NaN          NaN   \n",
       "34                                         NaN            NaN          NaN   \n",
       "\n",
       "                                        Measured Item  \\\n",
       "0                                                 NaN   \n",
       "1   {'Type': 'Condition', 'Formula': '$a.validValu...   \n",
       "2                                                 NaN   \n",
       "3                                                 NaN   \n",
       "4   {'Type': 'Condition', 'Formula': '$a.validValu...   \n",
       "5                                                 NaN   \n",
       "6                                                 NaN   \n",
       "7                                                 NaN   \n",
       "8   {'Type': 'Condition', 'Formula': '$a.validValu...   \n",
       "9                                                 NaN   \n",
       "10                                                NaN   \n",
       "11  {'Type': 'Condition', 'Formula': '$a.validValu...   \n",
       "12                                                NaN   \n",
       "13                                                NaN   \n",
       "14  {'Type': 'Condition', 'Formula': '$a.validValu...   \n",
       "15                                                NaN   \n",
       "16                                                NaN   \n",
       "17  {'Type': 'Condition', 'Formula': '$a.validValu...   \n",
       "18                                                NaN   \n",
       "19                                                NaN   \n",
       "20  {'Type': 'Condition', 'Formula': '$a.validValu...   \n",
       "21                                                NaN   \n",
       "22                                                NaN   \n",
       "23  {'Type': 'Condition', 'Formula': '$a.validValu...   \n",
       "24                                                NaN   \n",
       "25                                                NaN   \n",
       "26  {'Type': 'Condition', 'Formula': '$a.validValu...   \n",
       "27                                                NaN   \n",
       "28                                                NaN   \n",
       "29  {'Type': 'Condition', 'Formula': '$a.validValu...   \n",
       "30                                                NaN   \n",
       "31                                                NaN   \n",
       "32                                                NaN   \n",
       "33                                                NaN   \n",
       "34                                                NaN   \n",
       "\n",
       "   Measured Item Maximum Duration Statistic                Thresholds  \\\n",
       "0                             NaN       NaN                       NaN   \n",
       "1                             40d     count  {'HiHiHi': 1, 'HiHi': 0}   \n",
       "2                             NaN       NaN                       NaN   \n",
       "3                             NaN       NaN                       NaN   \n",
       "4                             40d     count  {'HiHiHi': 1, 'HiHi': 0}   \n",
       "5                             NaN       NaN                       NaN   \n",
       "6                             NaN       NaN                       NaN   \n",
       "7                             NaN       NaN                       NaN   \n",
       "8                             40d     count  {'HiHiHi': 1, 'HiHi': 0}   \n",
       "9                             NaN       NaN                       NaN   \n",
       "10                            NaN       NaN                       NaN   \n",
       "11                            40d     count  {'HiHiHi': 1, 'HiHi': 0}   \n",
       "12                            NaN       NaN                       NaN   \n",
       "13                            NaN       NaN                       NaN   \n",
       "14                            40d     count  {'HiHiHi': 1, 'HiHi': 0}   \n",
       "15                            NaN       NaN                       NaN   \n",
       "16                            NaN       NaN                       NaN   \n",
       "17                            40d     count  {'HiHiHi': 1, 'HiHi': 0}   \n",
       "18                            NaN       NaN                       NaN   \n",
       "19                            NaN       NaN                       NaN   \n",
       "20                            40d     count  {'HiHiHi': 1, 'HiHi': 0}   \n",
       "21                            NaN       NaN                       NaN   \n",
       "22                            NaN       NaN                       NaN   \n",
       "23                            40d     count  {'HiHiHi': 1, 'HiHi': 0}   \n",
       "24                            NaN       NaN                       NaN   \n",
       "25                            NaN       NaN                       NaN   \n",
       "26                            40d     count  {'HiHiHi': 1, 'HiHi': 0}   \n",
       "27                            NaN       NaN                       NaN   \n",
       "28                            NaN       NaN                       NaN   \n",
       "29                            40d     count  {'HiHiHi': 1, 'HiHi': 0}   \n",
       "30                            NaN       NaN                       NaN   \n",
       "31                            NaN       NaN                       NaN   \n",
       "32                            NaN       NaN                       NaN   \n",
       "33                            NaN       NaN                       NaN   \n",
       "34                            NaN       NaN                       NaN   \n",
       "\n",
       "   Workbook Type                                             Object  \n",
       "0            NaN                                                NaN  \n",
       "1            NaN                                                NaN  \n",
       "2            NaN                                                NaN  \n",
       "3            NaN                                                NaN  \n",
       "4            NaN                                                NaN  \n",
       "5            NaN                                                NaN  \n",
       "6            NaN                                                NaN  \n",
       "7            NaN                                                NaN  \n",
       "8            NaN                                                NaN  \n",
       "9            NaN                                                NaN  \n",
       "10           NaN                                                NaN  \n",
       "11           NaN                                                NaN  \n",
       "12           NaN                                                NaN  \n",
       "13           NaN                                                NaN  \n",
       "14           NaN                                                NaN  \n",
       "15           NaN                                                NaN  \n",
       "16           NaN                                                NaN  \n",
       "17           NaN                                                NaN  \n",
       "18           NaN                                                NaN  \n",
       "19           NaN                                                NaN  \n",
       "20           NaN                                                NaN  \n",
       "21           NaN                                                NaN  \n",
       "22           NaN                                                NaN  \n",
       "23           NaN                                                NaN  \n",
       "24           NaN                                                NaN  \n",
       "25           NaN                                                NaN  \n",
       "26           NaN                                                NaN  \n",
       "27           NaN                                                NaN  \n",
       "28           NaN                                                NaN  \n",
       "29           NaN                                                NaN  \n",
       "30           NaN                                                NaN  \n",
       "31           NaN                                                NaN  \n",
       "32           NaN                                                NaN  \n",
       "33      Analysis  Workbook \"None\" (E59D220C-59D7-432E-9BAF-097EA...  \n",
       "34         Topic  Workbook \"None\" (DDC0585D-3C6A-4949-8B16-91189...  "
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "build_df = spy.assets.build(Region, metadata_df)\n",
    "build_df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div style=\"background-color: #EEFFEE;text-align: left;\">Pushed successfully to datasource <strong>Seeq Data Lab [Datasource ID: Seeq Data Lab]</strong> and scoped to workbook ID <strong>E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B</strong><br>Click the following link to see what you pushed in Seeq:<br><a href=\"http://localhost:34216/D5B313D9-4E6C-430F-AA86-680331D28C33/workbook/E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B/worksheet/302A0E1E-45B0-4ABB-81DE-8C6832E9FB9C\" target=\"_new\">http://localhost:34216/D5B313D9-4E6C-430F-AA86-680331D28C33/workbook/E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B/worksheet/302A0E1E-45B0-4ABB-81DE-8C6832E9FB9C</a></div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Type</th>\n",
       "      <th>Formula</th>\n",
       "      <th>Formula Parameters</th>\n",
       "      <th>Name</th>\n",
       "      <th>Asset</th>\n",
       "      <th>Asset Object</th>\n",
       "      <th>Path</th>\n",
       "      <th>Template</th>\n",
       "      <th>Build Result</th>\n",
       "      <th>Measured Item</th>\n",
       "      <th>Measured Item Maximum Duration</th>\n",
       "      <th>Statistic</th>\n",
       "      <th>Thresholds</th>\n",
       "      <th>Workbook Type</th>\n",
       "      <th>Object</th>\n",
       "      <th>Datasource Class</th>\n",
       "      <th>Datasource ID</th>\n",
       "      <th>Data ID</th>\n",
       "      <th>ID</th>\n",
       "      <th>Push Result</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>CalculatedCondition</td>\n",
       "      <td>$a.validValues().valueSearch(isGreaterThan(120))</td>\n",
       "      <td>[a=431DDA45-599F-48A0-B372-B7F6D3CB7950]</td>\n",
       "      <td>Incidents</td>\n",
       "      <td>D</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2 &gt;&gt; D</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Condit...</td>\n",
       "      <td>A1668C45-5E76-423E-B584-1C5436F70D4F</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>ThresholdMetric</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Incident Count</td>\n",
       "      <td>D</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2 &gt;&gt; D</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>{'Type': 'Condition', 'Formula': '$a.validValu...</td>\n",
       "      <td>40d</td>\n",
       "      <td>count</td>\n",
       "      <td>{'HiHiHi': 1, 'HiHi': 0}</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Metric...</td>\n",
       "      <td>E777E96D-21A2-4EE3-AC0A-EF051A3FF572</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2 &gt;&gt; D</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...</td>\n",
       "      <td>0C430E3B-6D26-435D-90DF-F05F3FD131DF</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>CalculatedCondition</td>\n",
       "      <td>$a.validValues().valueSearch(isGreaterThan(120))</td>\n",
       "      <td>[a=B2FE2617-1603-4C84-99F3-AF6C4FC867FB]</td>\n",
       "      <td>Incidents</td>\n",
       "      <td>E</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2 &gt;&gt; E</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Condit...</td>\n",
       "      <td>11FA9084-3637-4DEE-B111-F510575C7928</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>ThresholdMetric</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Incident Count</td>\n",
       "      <td>E</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2 &gt;&gt; E</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>{'Type': 'Condition', 'Formula': '$a.validValu...</td>\n",
       "      <td>40d</td>\n",
       "      <td>count</td>\n",
       "      <td>{'HiHiHi': 1, 'HiHi': 0}</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Metric...</td>\n",
       "      <td>8E909687-348D-4C61-B3CE-223CBC549376</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>E</td>\n",
       "      <td>E</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2 &gt;&gt; E</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...</td>\n",
       "      <td>5FF7A3C7-09A0-4324-A7E7-2443F81FF83C</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 2</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America</td>\n",
       "      <td>Cooling Tower</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...</td>\n",
       "      <td>04E6438C-989C-436F-A7D7-86491737C925</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>CalculatedCondition</td>\n",
       "      <td>$a.validValues().valueSearch(isGreaterThan(120))</td>\n",
       "      <td>[a=E7D596B8-EBEA-499D-9F34-7B757924DA77]</td>\n",
       "      <td>Incidents</td>\n",
       "      <td>I</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; I</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Condit...</td>\n",
       "      <td>F1C36410-3197-4F2E-A3A6-3D5FBD47C8F6</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>ThresholdMetric</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Incident Count</td>\n",
       "      <td>I</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; I</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>{'Type': 'Condition', 'Formula': '$a.validValu...</td>\n",
       "      <td>40d</td>\n",
       "      <td>count</td>\n",
       "      <td>{'HiHiHi': 1, 'HiHi': 0}</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Metric...</td>\n",
       "      <td>47C1E3C1-A7FA-41E2-9915-6BC27E6D77FE</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I</td>\n",
       "      <td>I</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; I</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...</td>\n",
       "      <td>6AE1DFD5-0191-48AD-85D0-AF3049256398</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>CalculatedCondition</td>\n",
       "      <td>$a.validValues().valueSearch(isGreaterThan(120))</td>\n",
       "      <td>[a=AACE5B6B-072D-4871-B23D-9DF5A34949C2]</td>\n",
       "      <td>Incidents</td>\n",
       "      <td>C</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; C</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Condit...</td>\n",
       "      <td>A89A6D2D-DCED-437C-93B3-82BD36445B73</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>ThresholdMetric</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Incident Count</td>\n",
       "      <td>C</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; C</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>{'Type': 'Condition', 'Formula': '$a.validValu...</td>\n",
       "      <td>40d</td>\n",
       "      <td>count</td>\n",
       "      <td>{'HiHiHi': 1, 'HiHi': 0}</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Metric...</td>\n",
       "      <td>7B0094CB-682A-43A9-8592-681F425B261D</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>C</td>\n",
       "      <td>C</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; C</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...</td>\n",
       "      <td>E901C9CB-D0BD-41D0-B0DB-1E855395A199</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>CalculatedCondition</td>\n",
       "      <td>$a.validValues().valueSearch(isGreaterThan(120))</td>\n",
       "      <td>[a=53084E49-A1B4-41D1-AFCA-B5F59050E86F]</td>\n",
       "      <td>Incidents</td>\n",
       "      <td>G</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; G</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Condit...</td>\n",
       "      <td>7A2DA961-DE6C-4DF6-9293-6E13219798CB</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>ThresholdMetric</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Incident Count</td>\n",
       "      <td>G</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; G</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>{'Type': 'Condition', 'Formula': '$a.validValu...</td>\n",
       "      <td>40d</td>\n",
       "      <td>count</td>\n",
       "      <td>{'HiHiHi': 1, 'HiHi': 0}</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Metric...</td>\n",
       "      <td>BEECE947-2B49-40B4-B02D-2D4C19C2EE3F</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>G</td>\n",
       "      <td>G</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; G</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...</td>\n",
       "      <td>0B423D1A-6EE6-446E-90D3-047CF3770D27</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>CalculatedCondition</td>\n",
       "      <td>$a.validValues().valueSearch(isGreaterThan(120))</td>\n",
       "      <td>[a=2BC6CBB0-D5D8-487F-BF24-FAC90B3A06B6]</td>\n",
       "      <td>Incidents</td>\n",
       "      <td>K</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; K</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Condit...</td>\n",
       "      <td>E074A984-DE90-4155-84E5-BF8C19831219</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>ThresholdMetric</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Incident Count</td>\n",
       "      <td>K</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; K</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>{'Type': 'Condition', 'Formula': '$a.validValu...</td>\n",
       "      <td>40d</td>\n",
       "      <td>count</td>\n",
       "      <td>{'HiHiHi': 1, 'HiHi': 0}</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Metric...</td>\n",
       "      <td>B547614D-9133-41BD-80B7-FE01228FFEB7</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>K</td>\n",
       "      <td>K</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; K</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...</td>\n",
       "      <td>92DFFED4-EC7D-4936-8180-53B8B1CBB080</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>CalculatedCondition</td>\n",
       "      <td>$a.validValues().valueSearch(isGreaterThan(120))</td>\n",
       "      <td>[a=EFF0535A-D724-41AF-AB1E-44180E7B28C1]</td>\n",
       "      <td>Incidents</td>\n",
       "      <td>J</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; J</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Condit...</td>\n",
       "      <td>33D02788-54AA-442D-BEC5-8236D37FE308</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>ThresholdMetric</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Incident Count</td>\n",
       "      <td>J</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; J</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>{'Type': 'Condition', 'Formula': '$a.validValu...</td>\n",
       "      <td>40d</td>\n",
       "      <td>count</td>\n",
       "      <td>{'HiHiHi': 1, 'HiHi': 0}</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Metric...</td>\n",
       "      <td>56BAB926-C6E7-4A11-A618-3ABF758306F1</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>J</td>\n",
       "      <td>J</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; J</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...</td>\n",
       "      <td>B9231DB0-1E51-4A7F-A963-1059CDB779DB</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>CalculatedCondition</td>\n",
       "      <td>$a.validValues().valueSearch(isGreaterThan(120))</td>\n",
       "      <td>[a=EA9C0B72-48B4-4C9D-9D5B-5622D180AF26]</td>\n",
       "      <td>Incidents</td>\n",
       "      <td>A</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; A</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Condit...</td>\n",
       "      <td>89EA4BA0-EC3D-4617-9334-388F103A18BA</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>ThresholdMetric</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Incident Count</td>\n",
       "      <td>A</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; A</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>{'Type': 'Condition', 'Formula': '$a.validValu...</td>\n",
       "      <td>40d</td>\n",
       "      <td>count</td>\n",
       "      <td>{'HiHiHi': 1, 'HiHi': 0}</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Metric...</td>\n",
       "      <td>A4876F8E-00FB-40A3-86C4-F4A3BF896D2C</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>A</td>\n",
       "      <td>A</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; A</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...</td>\n",
       "      <td>78BB640C-36FF-4174-BBE3-6B924D8FADBB</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>CalculatedCondition</td>\n",
       "      <td>$a.validValues().valueSearch(isGreaterThan(120))</td>\n",
       "      <td>[a=EA021BE4-D11E-4505-8E85-8029F24793D9]</td>\n",
       "      <td>Incidents</td>\n",
       "      <td>H</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; H</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Condit...</td>\n",
       "      <td>A5A568ED-FE2D-40F8-8EF2-2DA4BE8E34A8</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>ThresholdMetric</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Incident Count</td>\n",
       "      <td>H</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; H</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>{'Type': 'Condition', 'Formula': '$a.validValu...</td>\n",
       "      <td>40d</td>\n",
       "      <td>count</td>\n",
       "      <td>{'HiHiHi': 1, 'HiHi': 0}</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Metric...</td>\n",
       "      <td>B85D9188-F7BA-4F69-A69D-602E065B8CBB</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>H</td>\n",
       "      <td>H</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; H</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...</td>\n",
       "      <td>6369542B-852B-4171-8AC2-626ADD9C5079</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>CalculatedCondition</td>\n",
       "      <td>$a.validValues().valueSearch(isGreaterThan(120))</td>\n",
       "      <td>[a=ED418D42-2E2A-46D9-A1DD-D2815234D915]</td>\n",
       "      <td>Incidents</td>\n",
       "      <td>B</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; B</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Condit...</td>\n",
       "      <td>372D25F6-874F-47FB-8051-3D1B107C34BE</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>ThresholdMetric</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Incident Count</td>\n",
       "      <td>B</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; B</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>{'Type': 'Condition', 'Formula': '$a.validValu...</td>\n",
       "      <td>40d</td>\n",
       "      <td>count</td>\n",
       "      <td>{'HiHiHi': 1, 'HiHi': 0}</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Metric...</td>\n",
       "      <td>C6740AAB-3D1B-428F-B467-1D581771222F</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>B</td>\n",
       "      <td>B</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1 &gt;&gt; B</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Area</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...</td>\n",
       "      <td>F8580C53-EAC6-47DD-BE56-B845A57C242D</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America &gt;&gt; 1</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America</td>\n",
       "      <td>Cooling Tower</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...</td>\n",
       "      <td>6C2081AF-6411-4771-A091-C0D323E059E3</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>32</th>\n",
       "      <td>Asset</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>North America</td>\n",
       "      <td>North America</td>\n",
       "      <td>Cooling Tower Health &gt;&gt; North America</td>\n",
       "      <td>Cooling Tower Health</td>\n",
       "      <td>Region</td>\n",
       "      <td>Success</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>Seeq Data Lab</td>\n",
       "      <td>[E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...</td>\n",
       "      <td>092C1146-7C38-42D1-86A9-A51B62EB6CEA</td>\n",
       "      <td>Success</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                   Type                                           Formula  \\\n",
       "0   CalculatedCondition  $a.validValues().valueSearch(isGreaterThan(120))   \n",
       "1       ThresholdMetric                                               NaN   \n",
       "2                 Asset                                               NaN   \n",
       "3   CalculatedCondition  $a.validValues().valueSearch(isGreaterThan(120))   \n",
       "4       ThresholdMetric                                               NaN   \n",
       "5                 Asset                                               NaN   \n",
       "6                 Asset                                               NaN   \n",
       "7   CalculatedCondition  $a.validValues().valueSearch(isGreaterThan(120))   \n",
       "8       ThresholdMetric                                               NaN   \n",
       "9                 Asset                                               NaN   \n",
       "10  CalculatedCondition  $a.validValues().valueSearch(isGreaterThan(120))   \n",
       "11      ThresholdMetric                                               NaN   \n",
       "12                Asset                                               NaN   \n",
       "13  CalculatedCondition  $a.validValues().valueSearch(isGreaterThan(120))   \n",
       "14      ThresholdMetric                                               NaN   \n",
       "15                Asset                                               NaN   \n",
       "16  CalculatedCondition  $a.validValues().valueSearch(isGreaterThan(120))   \n",
       "17      ThresholdMetric                                               NaN   \n",
       "18                Asset                                               NaN   \n",
       "19  CalculatedCondition  $a.validValues().valueSearch(isGreaterThan(120))   \n",
       "20      ThresholdMetric                                               NaN   \n",
       "21                Asset                                               NaN   \n",
       "22  CalculatedCondition  $a.validValues().valueSearch(isGreaterThan(120))   \n",
       "23      ThresholdMetric                                               NaN   \n",
       "24                Asset                                               NaN   \n",
       "25  CalculatedCondition  $a.validValues().valueSearch(isGreaterThan(120))   \n",
       "26      ThresholdMetric                                               NaN   \n",
       "27                Asset                                               NaN   \n",
       "28  CalculatedCondition  $a.validValues().valueSearch(isGreaterThan(120))   \n",
       "29      ThresholdMetric                                               NaN   \n",
       "30                Asset                                               NaN   \n",
       "31                Asset                                               NaN   \n",
       "32                Asset                                               NaN   \n",
       "\n",
       "                          Formula Parameters            Name          Asset  \\\n",
       "0   [a=431DDA45-599F-48A0-B372-B7F6D3CB7950]       Incidents              D   \n",
       "1                                        NaN  Incident Count              D   \n",
       "2                                        NaN               D              D   \n",
       "3   [a=B2FE2617-1603-4C84-99F3-AF6C4FC867FB]       Incidents              E   \n",
       "4                                        NaN  Incident Count              E   \n",
       "5                                        NaN               E              E   \n",
       "6                                        NaN               2              2   \n",
       "7   [a=E7D596B8-EBEA-499D-9F34-7B757924DA77]       Incidents              I   \n",
       "8                                        NaN  Incident Count              I   \n",
       "9                                        NaN               I              I   \n",
       "10  [a=AACE5B6B-072D-4871-B23D-9DF5A34949C2]       Incidents              C   \n",
       "11                                       NaN  Incident Count              C   \n",
       "12                                       NaN               C              C   \n",
       "13  [a=53084E49-A1B4-41D1-AFCA-B5F59050E86F]       Incidents              G   \n",
       "14                                       NaN  Incident Count              G   \n",
       "15                                       NaN               G              G   \n",
       "16  [a=2BC6CBB0-D5D8-487F-BF24-FAC90B3A06B6]       Incidents              K   \n",
       "17                                       NaN  Incident Count              K   \n",
       "18                                       NaN               K              K   \n",
       "19  [a=EFF0535A-D724-41AF-AB1E-44180E7B28C1]       Incidents              J   \n",
       "20                                       NaN  Incident Count              J   \n",
       "21                                       NaN               J              J   \n",
       "22  [a=EA9C0B72-48B4-4C9D-9D5B-5622D180AF26]       Incidents              A   \n",
       "23                                       NaN  Incident Count              A   \n",
       "24                                       NaN               A              A   \n",
       "25  [a=EA021BE4-D11E-4505-8E85-8029F24793D9]       Incidents              H   \n",
       "26                                       NaN  Incident Count              H   \n",
       "27                                       NaN               H              H   \n",
       "28  [a=ED418D42-2E2A-46D9-A1DD-D2815234D915]       Incidents              B   \n",
       "29                                       NaN  Incident Count              B   \n",
       "30                                       NaN               B              B   \n",
       "31                                       NaN               1              1   \n",
       "32                                       NaN   North America  North America   \n",
       "\n",
       "                                       Asset Object  \\\n",
       "0   Cooling Tower Health >> North America >> 2 >> D   \n",
       "1   Cooling Tower Health >> North America >> 2 >> D   \n",
       "2   Cooling Tower Health >> North America >> 2 >> D   \n",
       "3   Cooling Tower Health >> North America >> 2 >> E   \n",
       "4   Cooling Tower Health >> North America >> 2 >> E   \n",
       "5   Cooling Tower Health >> North America >> 2 >> E   \n",
       "6        Cooling Tower Health >> North America >> 2   \n",
       "7   Cooling Tower Health >> North America >> 1 >> I   \n",
       "8   Cooling Tower Health >> North America >> 1 >> I   \n",
       "9   Cooling Tower Health >> North America >> 1 >> I   \n",
       "10  Cooling Tower Health >> North America >> 1 >> C   \n",
       "11  Cooling Tower Health >> North America >> 1 >> C   \n",
       "12  Cooling Tower Health >> North America >> 1 >> C   \n",
       "13  Cooling Tower Health >> North America >> 1 >> G   \n",
       "14  Cooling Tower Health >> North America >> 1 >> G   \n",
       "15  Cooling Tower Health >> North America >> 1 >> G   \n",
       "16  Cooling Tower Health >> North America >> 1 >> K   \n",
       "17  Cooling Tower Health >> North America >> 1 >> K   \n",
       "18  Cooling Tower Health >> North America >> 1 >> K   \n",
       "19  Cooling Tower Health >> North America >> 1 >> J   \n",
       "20  Cooling Tower Health >> North America >> 1 >> J   \n",
       "21  Cooling Tower Health >> North America >> 1 >> J   \n",
       "22  Cooling Tower Health >> North America >> 1 >> A   \n",
       "23  Cooling Tower Health >> North America >> 1 >> A   \n",
       "24  Cooling Tower Health >> North America >> 1 >> A   \n",
       "25  Cooling Tower Health >> North America >> 1 >> H   \n",
       "26  Cooling Tower Health >> North America >> 1 >> H   \n",
       "27  Cooling Tower Health >> North America >> 1 >> H   \n",
       "28  Cooling Tower Health >> North America >> 1 >> B   \n",
       "29  Cooling Tower Health >> North America >> 1 >> B   \n",
       "30  Cooling Tower Health >> North America >> 1 >> B   \n",
       "31       Cooling Tower Health >> North America >> 1   \n",
       "32            Cooling Tower Health >> North America   \n",
       "\n",
       "                                          Path       Template Build Result  \\\n",
       "0   Cooling Tower Health >> North America >> 2           Area      Success   \n",
       "1   Cooling Tower Health >> North America >> 2           Area      Success   \n",
       "2   Cooling Tower Health >> North America >> 2           Area      Success   \n",
       "3   Cooling Tower Health >> North America >> 2           Area      Success   \n",
       "4   Cooling Tower Health >> North America >> 2           Area      Success   \n",
       "5   Cooling Tower Health >> North America >> 2           Area      Success   \n",
       "6        Cooling Tower Health >> North America  Cooling Tower      Success   \n",
       "7   Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "8   Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "9   Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "10  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "11  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "12  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "13  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "14  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "15  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "16  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "17  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "18  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "19  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "20  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "21  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "22  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "23  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "24  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "25  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "26  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "27  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "28  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "29  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "30  Cooling Tower Health >> North America >> 1           Area      Success   \n",
       "31       Cooling Tower Health >> North America  Cooling Tower      Success   \n",
       "32                        Cooling Tower Health         Region      Success   \n",
       "\n",
       "                                        Measured Item  \\\n",
       "0                                                 NaN   \n",
       "1   {'Type': 'Condition', 'Formula': '$a.validValu...   \n",
       "2                                                 NaN   \n",
       "3                                                 NaN   \n",
       "4   {'Type': 'Condition', 'Formula': '$a.validValu...   \n",
       "5                                                 NaN   \n",
       "6                                                 NaN   \n",
       "7                                                 NaN   \n",
       "8   {'Type': 'Condition', 'Formula': '$a.validValu...   \n",
       "9                                                 NaN   \n",
       "10                                                NaN   \n",
       "11  {'Type': 'Condition', 'Formula': '$a.validValu...   \n",
       "12                                                NaN   \n",
       "13                                                NaN   \n",
       "14  {'Type': 'Condition', 'Formula': '$a.validValu...   \n",
       "15                                                NaN   \n",
       "16                                                NaN   \n",
       "17  {'Type': 'Condition', 'Formula': '$a.validValu...   \n",
       "18                                                NaN   \n",
       "19                                                NaN   \n",
       "20  {'Type': 'Condition', 'Formula': '$a.validValu...   \n",
       "21                                                NaN   \n",
       "22                                                NaN   \n",
       "23  {'Type': 'Condition', 'Formula': '$a.validValu...   \n",
       "24                                                NaN   \n",
       "25                                                NaN   \n",
       "26  {'Type': 'Condition', 'Formula': '$a.validValu...   \n",
       "27                                                NaN   \n",
       "28                                                NaN   \n",
       "29  {'Type': 'Condition', 'Formula': '$a.validValu...   \n",
       "30                                                NaN   \n",
       "31                                                NaN   \n",
       "32                                                NaN   \n",
       "\n",
       "   Measured Item Maximum Duration Statistic                Thresholds  \\\n",
       "0                             NaN       NaN                       NaN   \n",
       "1                             40d     count  {'HiHiHi': 1, 'HiHi': 0}   \n",
       "2                             NaN       NaN                       NaN   \n",
       "3                             NaN       NaN                       NaN   \n",
       "4                             40d     count  {'HiHiHi': 1, 'HiHi': 0}   \n",
       "5                             NaN       NaN                       NaN   \n",
       "6                             NaN       NaN                       NaN   \n",
       "7                             NaN       NaN                       NaN   \n",
       "8                             40d     count  {'HiHiHi': 1, 'HiHi': 0}   \n",
       "9                             NaN       NaN                       NaN   \n",
       "10                            NaN       NaN                       NaN   \n",
       "11                            40d     count  {'HiHiHi': 1, 'HiHi': 0}   \n",
       "12                            NaN       NaN                       NaN   \n",
       "13                            NaN       NaN                       NaN   \n",
       "14                            40d     count  {'HiHiHi': 1, 'HiHi': 0}   \n",
       "15                            NaN       NaN                       NaN   \n",
       "16                            NaN       NaN                       NaN   \n",
       "17                            40d     count  {'HiHiHi': 1, 'HiHi': 0}   \n",
       "18                            NaN       NaN                       NaN   \n",
       "19                            NaN       NaN                       NaN   \n",
       "20                            40d     count  {'HiHiHi': 1, 'HiHi': 0}   \n",
       "21                            NaN       NaN                       NaN   \n",
       "22                            NaN       NaN                       NaN   \n",
       "23                            40d     count  {'HiHiHi': 1, 'HiHi': 0}   \n",
       "24                            NaN       NaN                       NaN   \n",
       "25                            NaN       NaN                       NaN   \n",
       "26                            40d     count  {'HiHiHi': 1, 'HiHi': 0}   \n",
       "27                            NaN       NaN                       NaN   \n",
       "28                            NaN       NaN                       NaN   \n",
       "29                            40d     count  {'HiHiHi': 1, 'HiHi': 0}   \n",
       "30                            NaN       NaN                       NaN   \n",
       "31                            NaN       NaN                       NaN   \n",
       "32                            NaN       NaN                       NaN   \n",
       "\n",
       "   Workbook Type Object Datasource Class  Datasource ID  \\\n",
       "0            NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "1            NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "2            NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "3            NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "4            NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "5            NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "6            NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "7            NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "8            NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "9            NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "10           NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "11           NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "12           NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "13           NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "14           NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "15           NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "16           NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "17           NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "18           NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "19           NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "20           NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "21           NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "22           NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "23           NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "24           NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "25           NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "26           NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "27           NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "28           NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "29           NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "30           NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "31           NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "32           NaN    NaN    Seeq Data Lab  Seeq Data Lab   \n",
       "\n",
       "                                              Data ID  \\\n",
       "0   [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Condit...   \n",
       "1   [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Metric...   \n",
       "2   [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...   \n",
       "3   [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Condit...   \n",
       "4   [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Metric...   \n",
       "5   [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...   \n",
       "6   [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...   \n",
       "7   [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Condit...   \n",
       "8   [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Metric...   \n",
       "9   [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...   \n",
       "10  [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Condit...   \n",
       "11  [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Metric...   \n",
       "12  [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...   \n",
       "13  [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Condit...   \n",
       "14  [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Metric...   \n",
       "15  [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...   \n",
       "16  [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Condit...   \n",
       "17  [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Metric...   \n",
       "18  [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...   \n",
       "19  [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Condit...   \n",
       "20  [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Metric...   \n",
       "21  [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...   \n",
       "22  [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Condit...   \n",
       "23  [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Metric...   \n",
       "24  [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...   \n",
       "25  [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Condit...   \n",
       "26  [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Metric...   \n",
       "27  [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...   \n",
       "28  [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Condit...   \n",
       "29  [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Metric...   \n",
       "30  [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...   \n",
       "31  [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...   \n",
       "32  [E965F8DF-EC82-4BF7-AE43-22E6ADA5B20B] {Asset}...   \n",
       "\n",
       "                                      ID Push Result  \n",
       "0   A1668C45-5E76-423E-B584-1C5436F70D4F     Success  \n",
       "1   E777E96D-21A2-4EE3-AC0A-EF051A3FF572     Success  \n",
       "2   0C430E3B-6D26-435D-90DF-F05F3FD131DF     Success  \n",
       "3   11FA9084-3637-4DEE-B111-F510575C7928     Success  \n",
       "4   8E909687-348D-4C61-B3CE-223CBC549376     Success  \n",
       "5   5FF7A3C7-09A0-4324-A7E7-2443F81FF83C     Success  \n",
       "6   04E6438C-989C-436F-A7D7-86491737C925     Success  \n",
       "7   F1C36410-3197-4F2E-A3A6-3D5FBD47C8F6     Success  \n",
       "8   47C1E3C1-A7FA-41E2-9915-6BC27E6D77FE     Success  \n",
       "9   6AE1DFD5-0191-48AD-85D0-AF3049256398     Success  \n",
       "10  A89A6D2D-DCED-437C-93B3-82BD36445B73     Success  \n",
       "11  7B0094CB-682A-43A9-8592-681F425B261D     Success  \n",
       "12  E901C9CB-D0BD-41D0-B0DB-1E855395A199     Success  \n",
       "13  7A2DA961-DE6C-4DF6-9293-6E13219798CB     Success  \n",
       "14  BEECE947-2B49-40B4-B02D-2D4C19C2EE3F     Success  \n",
       "15  0B423D1A-6EE6-446E-90D3-047CF3770D27     Success  \n",
       "16  E074A984-DE90-4155-84E5-BF8C19831219     Success  \n",
       "17  B547614D-9133-41BD-80B7-FE01228FFEB7     Success  \n",
       "18  92DFFED4-EC7D-4936-8180-53B8B1CBB080     Success  \n",
       "19  33D02788-54AA-442D-BEC5-8236D37FE308     Success  \n",
       "20  56BAB926-C6E7-4A11-A618-3ABF758306F1     Success  \n",
       "21  B9231DB0-1E51-4A7F-A963-1059CDB779DB     Success  \n",
       "22  89EA4BA0-EC3D-4617-9334-388F103A18BA     Success  \n",
       "23  A4876F8E-00FB-40A3-86C4-F4A3BF896D2C     Success  \n",
       "24  78BB640C-36FF-4174-BBE3-6B924D8FADBB     Success  \n",
       "25  A5A568ED-FE2D-40F8-8EF2-2DA4BE8E34A8     Success  \n",
       "26  B85D9188-F7BA-4F69-A69D-602E065B8CBB     Success  \n",
       "27  6369542B-852B-4171-8AC2-626ADD9C5079     Success  \n",
       "28  372D25F6-874F-47FB-8051-3D1B107C34BE     Success  \n",
       "29  C6740AAB-3D1B-428F-B467-1D581771222F     Success  \n",
       "30  F8580C53-EAC6-47DD-BE56-B845A57C242D     Success  \n",
       "31  6C2081AF-6411-4771-A091-C0D323E059E3     Success  \n",
       "32  092C1146-7C38-42D1-86A9-A51B62EB6CEA     Success  "
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "spy.push(metadata=build_df)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}