Skip to content

Commit

Permalink
data
Browse files Browse the repository at this point in the history
  • Loading branch information
Avare Stewart committed Feb 19, 2019
1 parent c5ac541 commit 85ddbd1
Show file tree
Hide file tree
Showing 4 changed files with 587,369 additions and 202 deletions.
224 changes: 22 additions & 202 deletions analysis/data-exploration.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
{
"cell_type": "code",
"execution_count": 69,
"execution_count": 1,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -89,216 +89,36 @@
},
{
"cell_type": "code",
"execution_count": 34,
"execution_count": 2,
"metadata": {
"scrolled": false
},
"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>Temp1</th>\n",
" <th>Temp2</th>\n",
" <th>Temp3</th>\n",
" <th>Temp4</th>\n",
" <th>Temp8</th>\n",
" <th>Humi1</th>\n",
" <th>Humi2</th>\n",
" <th>Humi3</th>\n",
" <th>Humi4</th>\n",
" </tr>\n",
" <tr>\n",
" <th>datetime</th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>2013-04-14 07:44:23</th>\n",
" <td>10.1</td>\n",
" <td>19.6</td>\n",
" <td>23.0</td>\n",
" <td>20.2</td>\n",
" <td>12.2</td>\n",
" <td>76.0</td>\n",
" <td>42.0</td>\n",
" <td>34.0</td>\n",
" <td>40.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2013-04-14 07:44:30</th>\n",
" <td>10.1</td>\n",
" <td>19.6</td>\n",
" <td>23.0</td>\n",
" <td>20.2</td>\n",
" <td>12.2</td>\n",
" <td>76.0</td>\n",
" <td>42.0</td>\n",
" <td>34.0</td>\n",
" <td>40.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2013-04-14 07:45:37</th>\n",
" <td>10.1</td>\n",
" <td>19.6</td>\n",
" <td>23.0</td>\n",
" <td>20.2</td>\n",
" <td>12.2</td>\n",
" <td>76.0</td>\n",
" <td>42.0</td>\n",
" <td>34.0</td>\n",
" <td>40.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2013-04-14 07:46:03</th>\n",
" <td>10.1</td>\n",
" <td>19.6</td>\n",
" <td>23.0</td>\n",
" <td>20.2</td>\n",
" <td>12.2</td>\n",
" <td>76.0</td>\n",
" <td>42.0</td>\n",
" <td>34.0</td>\n",
" <td>40.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2013-04-14 07:46:19</th>\n",
" <td>10.1</td>\n",
" <td>19.6</td>\n",
" <td>23.0</td>\n",
" <td>20.2</td>\n",
" <td>12.2</td>\n",
" <td>76.0</td>\n",
" <td>42.0</td>\n",
" <td>34.0</td>\n",
" <td>40.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2013-04-14 07:47:19</th>\n",
" <td>10.1</td>\n",
" <td>19.6</td>\n",
" <td>23.0</td>\n",
" <td>20.2</td>\n",
" <td>12.2</td>\n",
" <td>76.0</td>\n",
" <td>42.0</td>\n",
" <td>34.0</td>\n",
" <td>40.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2013-04-14 07:47:26</th>\n",
" <td>10.1</td>\n",
" <td>19.6</td>\n",
" <td>23.0</td>\n",
" <td>20.2</td>\n",
" <td>12.2</td>\n",
" <td>76.0</td>\n",
" <td>42.0</td>\n",
" <td>34.0</td>\n",
" <td>40.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2013-04-14 07:50:14</th>\n",
" <td>10.2</td>\n",
" <td>19.6</td>\n",
" <td>23.0</td>\n",
" <td>20.2</td>\n",
" <td>12.2</td>\n",
" <td>76.0</td>\n",
" <td>42.0</td>\n",
" <td>34.0</td>\n",
" <td>40.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2013-04-14 07:50:22</th>\n",
" <td>10.2</td>\n",
" <td>19.6</td>\n",
" <td>23.0</td>\n",
" <td>20.2</td>\n",
" <td>12.2</td>\n",
" <td>76.0</td>\n",
" <td>42.0</td>\n",
" <td>34.0</td>\n",
" <td>40.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2013-04-14 07:51:30</th>\n",
" <td>10.2</td>\n",
" <td>19.6</td>\n",
" <td>23.0</td>\n",
" <td>20.2</td>\n",
" <td>12.2</td>\n",
" <td>76.0</td>\n",
" <td>42.0</td>\n",
" <td>34.0</td>\n",
" <td>40.0</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" Temp1 Temp2 Temp3 Temp4 Temp8 Humi1 Humi2 Humi3 \\\n",
"datetime \n",
"2013-04-14 07:44:23 10.1 19.6 23.0 20.2 12.2 76.0 42.0 34.0 \n",
"2013-04-14 07:44:30 10.1 19.6 23.0 20.2 12.2 76.0 42.0 34.0 \n",
"2013-04-14 07:45:37 10.1 19.6 23.0 20.2 12.2 76.0 42.0 34.0 \n",
"2013-04-14 07:46:03 10.1 19.6 23.0 20.2 12.2 76.0 42.0 34.0 \n",
"2013-04-14 07:46:19 10.1 19.6 23.0 20.2 12.2 76.0 42.0 34.0 \n",
"2013-04-14 07:47:19 10.1 19.6 23.0 20.2 12.2 76.0 42.0 34.0 \n",
"2013-04-14 07:47:26 10.1 19.6 23.0 20.2 12.2 76.0 42.0 34.0 \n",
"2013-04-14 07:50:14 10.2 19.6 23.0 20.2 12.2 76.0 42.0 34.0 \n",
"2013-04-14 07:50:22 10.2 19.6 23.0 20.2 12.2 76.0 42.0 34.0 \n",
"2013-04-14 07:51:30 10.2 19.6 23.0 20.2 12.2 76.0 42.0 34.0 \n",
"\n",
" Humi4 \n",
"datetime \n",
"2013-04-14 07:44:23 40.0 \n",
"2013-04-14 07:44:30 40.0 \n",
"2013-04-14 07:45:37 40.0 \n",
"2013-04-14 07:46:03 40.0 \n",
"2013-04-14 07:46:19 40.0 \n",
"2013-04-14 07:47:19 40.0 \n",
"2013-04-14 07:47:26 40.0 \n",
"2013-04-14 07:50:14 40.0 \n",
"2013-04-14 07:50:22 40.0 \n",
"2013-04-14 07:51:30 40.0 "
]
},
"execution_count": 34,
"metadata": {},
"output_type": "execute_result"
"name": "stdout",
"output_type": "stream",
"text": [
"<class 'pandas.core.frame.DataFrame'>\n",
"DatetimeIndex: 1093567 entries, 2013-04-14 07:44:23 to 2016-02-09 22:41:09\n",
"Data columns (total 9 columns):\n",
"Temp1 1089409 non-null float64\n",
"Temp2 1029527 non-null float64\n",
"Temp3 787389 non-null float64\n",
"Temp4 679930 non-null float64\n",
"Temp8 893742 non-null float64\n",
"Humi1 1089403 non-null float64\n",
"Humi2 1029531 non-null float64\n",
"Humi3 787386 non-null float64\n",
"Humi4 679935 non-null float64\n",
"dtypes: float64(9)\n",
"memory usage: 83.4 MB\n"
]
}
],
"source": [
"home = braunschweig('/Users/stewarta/Documents/DATA/htsensor/raw.data')\n",
"home.head(10)"
"home.head(10)\n",
"home.info()"
]
},
{
Expand Down
Loading

0 comments on commit 85ddbd1

Please sign in to comment.