diff --git a/Building_selection.ipynb b/Building_selection.ipynb index 3918780..a1046be 100644 --- a/Building_selection.ipynb +++ b/Building_selection.ipynb @@ -7022,344 +7022,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "## selection attached buildings" + "# archive" ] }, - { - "cell_type": "code", - "execution_count": 43, - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "Index(['OBJECTID', 'ID_UEV', 'CIVIQUE_DE', 'CIVIQUE_FI', 'NOM_RUE',\n", - " 'MUNICIPALI', 'CODE_UTILI', 'LIBELLE_UT', 'CATEGORIE_', 'Hieght_LiD',\n", - " 'AREA_NEW', 'MBG_Width', 'MBG_Length', 'MBG_Orientation',\n", - " 'Shape_Length', 'Shape_Area', 'BuildingCategory', 'BuildingVolume',\n", - " 'FloorNu_RawTax', 'FloorNu_RawTax.1', 'Floor_frmHieght',\n", - " 'TotalFloorArea', 'geometry', 'ANNEE_CONS', 'New_AspectRatio',\n", - " 'New_SurfacetoVolumeRatio', 'transformed_geometry', 'calculated_area',\n", - " 'YearGroup', 'Building_Size', 'Building_Floors', 'lod'],\n", - " dtype='object')" - ] - }, - "execution_count": 43, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "sampled_buildings_dict['detached']['1800-1945']['Single-Use Office'].columns" - ] - }, - { - "cell_type": "code", - "execution_count": 45, - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "there are 12 buildings in the filtered dataframe\n" - ] - }, - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
AREA_NEWID_UEVCIVIQUE_DECIVIQUE_FINOM_RUEShape_Areacalculated_areaYearGroupBuilding_SizeBuilding_FloorslodTotalFloorArea
0143103692520082010rue Mackay (MTL)183142.8026911800-1945Single use office3 floorslod_2429
1117103691520602060rue Mackay (MTL)119116.4900611800-1945Single use office3 floorslod_2351
2106103692120302030rue Mackay (MTL)108106.4008381800-1945Single use office3 floorslod_2318
3106103692320202020rue Mackay (MTL)108105.9455791800-1945Single use office3 floorslod1318
497101071746354635rue Sherbrooke Ouest (MTL+MTO+WMT)12296.9136281800-1945Single use office2 floorslod1194
5131103760734673467rue Peel (MTL)132130.7519071800-1945Single use office3 floorslod1393
6124100341312411243rue Saint-Hubert (MTL)137124.4516211800-1945Single use office3 floorslod1372
7107101076844844484rue Sherbrooke Ouest (MTL+MTO+WMT)119107.3448031800-1945Single use office3 floorslod1321
8119103691720502052rue Mackay (MTL)167118.9922841800-1945Single use office3 floorslod1357
9134103679821402140rue Bishop (MTL)172133.8121631800-1945Single use office3 floorslod1402
10126102500345174519rue Saint-Denis (MTL)145125.4977361800-1945Single use office3 floorslod1378
11120101311449274927rue Sherbrooke Ouest (MTL+MTO+WMT)142120.1226151800-1945Single use office3 floorslod1360
\n", - "
" - ], - "text/plain": [ - " AREA_NEW ID_UEV CIVIQUE_DE CIVIQUE_FI \\\n", - "0 143 1036925 2008 2010 \n", - "1 117 1036915 2060 2060 \n", - "2 106 1036921 2030 2030 \n", - "3 106 1036923 2020 2020 \n", - "4 97 1010717 4635 4635 \n", - "5 131 1037607 3467 3467 \n", - "6 124 1003413 1241 1243 \n", - "7 107 1010768 4484 4484 \n", - "8 119 1036917 2050 2052 \n", - "9 134 1036798 2140 2140 \n", - "10 126 1025003 4517 4519 \n", - "11 120 1013114 4927 4927 \n", - "\n", - " NOM_RUE Shape_Area calculated_area \\\n", - "0 rue Mackay (MTL) 183 142.802691 \n", - "1 rue Mackay (MTL) 119 116.490061 \n", - "2 rue Mackay (MTL) 108 106.400838 \n", - "3 rue Mackay (MTL) 108 105.945579 \n", - "4 rue Sherbrooke Ouest (MTL+MTO+WMT) 122 96.913628 \n", - "5 rue Peel (MTL) 132 130.751907 \n", - "6 rue Saint-Hubert (MTL) 137 124.451621 \n", - "7 rue Sherbrooke Ouest (MTL+MTO+WMT) 119 107.344803 \n", - "8 rue Mackay (MTL) 167 118.992284 \n", - "9 rue Bishop (MTL) 172 133.812163 \n", - "10 rue Saint-Denis (MTL) 145 125.497736 \n", - "11 rue Sherbrooke Ouest (MTL+MTO+WMT) 142 120.122615 \n", - "\n", - " YearGroup Building_Size Building_Floors lod TotalFloorArea \n", - "0 1800-1945 Single use office 3 floors lod_2 429 \n", - "1 1800-1945 Single use office 3 floors lod_2 351 \n", - "2 1800-1945 Single use office 3 floors lod_2 318 \n", - "3 1800-1945 Single use office 3 floors lod1 318 \n", - "4 1800-1945 Single use office 2 floors lod1 194 \n", - "5 1800-1945 Single use office 3 floors lod1 393 \n", - "6 1800-1945 Single use office 3 floors lod1 372 \n", - "7 1800-1945 Single use office 3 floors lod1 321 \n", - "8 1800-1945 Single use office 3 floors lod1 357 \n", - "9 1800-1945 Single use office 3 floors lod1 402 \n", - "10 1800-1945 Single use office 3 floors lod1 378 \n", - "11 1800-1945 Single use office 3 floors lod1 360 " - ] - }, - "execution_count": 45, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "get_filtered_buildings(sampled_buildings_dict, 'fully_attached', '1800-1945', 'Single-Use Office')[['AREA_NEW','ID_UEV', 'CIVIQUE_DE', 'CIVIQUE_FI', 'NOM_RUE','Shape_Area','calculated_area',\n", - " 'YearGroup', 'Building_Size', 'Building_Floors', 'lod','TotalFloorArea']]" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] - }, { "cell_type": "markdown", "metadata": {}, diff --git a/Datasets/Building_Selection.xlsx b/Datasets/Building_Selection.xlsx index 5bdc14d..affe030 100644 Binary files a/Datasets/Building_Selection.xlsx and b/Datasets/Building_Selection.xlsx differ