Spaces:
Sleeping
Sleeping
File size: 5,549 Bytes
07e4611 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 |
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"import pandas as pd"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"df = pd.read_parquet(\n",
" \"/Users/sebastianalejandrosarastizambonino/Documents/conferences/aws_community_day_2025/data/datos_ambiente_quito.parquet\"\n",
")"
]
},
{
"cell_type": "code",
"execution_count": 4,
"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>ds</th>\n",
" <th>station</th>\n",
" <th>y</th>\n",
" <th>property</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>2004-01-01 00:00:00</td>\n",
" <td>BELISARIO</td>\n",
" <td>7.42</td>\n",
" <td>co</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>2004-01-01 01:00:00</td>\n",
" <td>BELISARIO</td>\n",
" <td>7.96</td>\n",
" <td>co</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>2004-01-01 02:00:00</td>\n",
" <td>BELISARIO</td>\n",
" <td>8.42</td>\n",
" <td>co</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>2004-01-01 03:00:00</td>\n",
" <td>BELISARIO</td>\n",
" <td>9.06</td>\n",
" <td>co</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>2004-01-01 04:00:00</td>\n",
" <td>BELISARIO</td>\n",
" <td>6.57</td>\n",
" <td>co</td>\n",
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1524523</th>\n",
" <td>2025-08-31 19:00:00</td>\n",
" <td>SAN ANTONIO</td>\n",
" <td>12.78</td>\n",
" <td>Temperature</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1524524</th>\n",
" <td>2025-08-31 20:00:00</td>\n",
" <td>SAN ANTONIO</td>\n",
" <td>12.28</td>\n",
" <td>Temperature</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1524525</th>\n",
" <td>2025-08-31 21:00:00</td>\n",
" <td>SAN ANTONIO</td>\n",
" <td>12.21</td>\n",
" <td>Temperature</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1524526</th>\n",
" <td>2025-08-31 22:00:00</td>\n",
" <td>SAN ANTONIO</td>\n",
" <td>12.35</td>\n",
" <td>Temperature</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1524527</th>\n",
" <td>2025-08-31 23:00:00</td>\n",
" <td>SAN ANTONIO</td>\n",
" <td>12.22</td>\n",
" <td>Temperature</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>2828207 rows × 4 columns</p>\n",
"</div>"
],
"text/plain": [
" ds station y property\n",
"0 2004-01-01 00:00:00 BELISARIO 7.42 co\n",
"1 2004-01-01 01:00:00 BELISARIO 7.96 co\n",
"2 2004-01-01 02:00:00 BELISARIO 8.42 co\n",
"3 2004-01-01 03:00:00 BELISARIO 9.06 co\n",
"4 2004-01-01 04:00:00 BELISARIO 6.57 co\n",
"... ... ... ... ...\n",
"1524523 2025-08-31 19:00:00 SAN ANTONIO 12.78 Temperature\n",
"1524524 2025-08-31 20:00:00 SAN ANTONIO 12.28 Temperature\n",
"1524525 2025-08-31 21:00:00 SAN ANTONIO 12.21 Temperature\n",
"1524526 2025-08-31 22:00:00 SAN ANTONIO 12.35 Temperature\n",
"1524527 2025-08-31 23:00:00 SAN ANTONIO 12.22 Temperature\n",
"\n",
"[2828207 rows x 4 columns]"
]
},
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"df"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "aws_conf",
"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.11.13"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
|