{"id":309103,"date":"2020-08-27T15:01:03","date_gmt":"2020-08-27T15:01:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=309103"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2020-08-27T15:01:03","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=309103","title":{"rendered":"\u0412\u043e\u043b\u043d\u044b \u043c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u043e\u0439 \u0440\u0435\u043d\u043e\u0432\u0430\u0446\u0438\u0438"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/516790\/\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/la\/-5\/wu\/la-5wuusdknxmuonmghibtj2jso.png\"><\/p>\n<p>  <\/p>\n<p>\u0414\u043e\u0431\u0440\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0441\u0443\u0442\u043e\u043a \u0434\u043e\u0440\u043e\u0433\u0438\u0435 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u0438 \u0445\u0430\u0431\u0440\u0430, 12 \u0430\u0432\u0433\u0443\u0441\u0442\u0430 2020 \u0433\u043e\u0434\u0430 \u0431\u044b\u043b\u0438 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u044b \u044d\u0442\u0430\u043f\u044b \u043f\u0435\u0440\u0435\u0435\u0437\u0434\u0430 \u043f\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435 \u0440\u0435\u043d\u043e\u0432\u0430\u0446\u0438\u0438 (\u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u043c\u043e\u0436\u043d\u043e <a href=\"https:\/\/www.mos.ru\/news\/item\/78307073\/\" rel=\"nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a>) \u0438 \u043c\u043d\u0435 \u0441\u0442\u0430\u043b\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0430 \u043a\u0430\u043a \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c, \u0435\u0441\u043b\u0438 \u044d\u0442\u0438 \u044d\u0442\u0430\u043f\u044b \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u0422\u0443\u0442 \u043d\u0443\u0436\u043d\u043e \u0443\u0442\u043e\u0447\u043d\u0438\u0442\u044c, \u0447\u0442\u043e \u044f \u043d\u0438\u043a\u0430\u043a \u043d\u0438 \u0441\u0432\u044f\u0437\u0430\u043d \u0441 \u043f\u0440\u0430\u0432\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e\u043c \u041c\u043e\u0441\u043a\u0432\u044b, \u043d\u043e \u044f\u0432\u043b\u044f\u044e\u0441\u044c \u0441\u0447\u0430\u0441\u0442\u043b\u0438\u0432\u044b\u043c \u043e\u0431\u043b\u0430\u0434\u0430\u0442\u0435\u043b\u0435\u043c \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b \u0432 \u0434\u043e\u043c\u0435 \u043f\u043e\u0434 \u0440\u0435\u043d\u043e\u0432\u0430\u0446\u0438\u044e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u043d\u0435 \u0431\u044b\u043b\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043c\u043e\u0436\u0435\u0442 \u0434\u0430\u0436\u0435 \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c, \u043a\u0443\u0434\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0434\u0432\u0438\u0433\u0430\u0442\u044c\u0441\u044f \u0432\u043e\u043b\u043d\u0430 \u0440\u0435\u043d\u043e\u0432\u0430\u0446\u0438\u0438 \u0432 \u043c\u043e\u0451\u043c \u0441\u043b\u0443\u0447\u0430\u0435 (\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0438 \u0432 \u0432\u0430\u0448\u0435\u043c, \u0435\u0441\u043b\u0438 \u0432\u0430\u0441 \u0434\u043e\u0440\u043e\u0433\u043e\u0439 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044c \u044d\u0442\u043e \u0437\u0430\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442). \u041a\u043e\u043d\u0435\u0447\u043d\u043e \u0442\u043e\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0430 \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f, \u043d\u043e \u0445\u043e\u0442\u044f-\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u043a\u0430\u0440\u0442\u0438\u043d\u0443 \u043f\u043e\u0434 \u043d\u043e\u0432\u044b\u043c \u0443\u0433\u043b\u043e\u043c. \u0421\u0440\u0430\u0437\u0443 \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u043d\u0435 \u0432\u0441\u0451, \u0447\u0442\u043e \u044f \u0445\u043e\u0442\u0435\u043b \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u043d\u043e \u0435\u0441\u043b\u0438 \u043a\u043e\u043c\u0443-\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0441\u043e\u0431\u0438\u0440\u0430\u043b\u0438\u0441\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u043a\u0430\u043a\u0438\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u0441 \u044d\u0442\u0438\u043c \u0431\u044b\u043b\u0438 \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442. \u0417\u0430\u0431\u0435\u0433\u0430\u044f \u0432\u043f\u0435\u0440\u0451\u0434, \u0441\u043a\u0430\u0436\u0443, \u0447\u0442\u043e \u043f\u043e\u043c\u0435\u0442\u0438\u0442\u044c \u0434\u043e\u043c\u0430 \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u0432\u043e\u043b\u043d\u0430\u043c \u0440\u0435\u043d\u043e\u0432\u0430\u0446\u0438\u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c, \u043e\u0434\u043d\u0430\u043a\u043e \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c \u043d\u0430 \u043a\u0430\u0440\u0442\u0435 \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u044b\u0435 \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0438, \u0445\u043e\u0442\u044f \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432\u0440\u0443\u0447\u043d\u0443\u044e, \u043d\u0438\u0436\u0435 \u043f\u043e\u043a\u0430\u0436\u0443 \u043a\u0430\u043a.<\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<h2 id=\"1-vvedenie\">1. \u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/h2>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0412\u043a\u0440\u0430\u0442\u0446\u0435 \u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435 \u0440\u0435\u043d\u043e\u0432\u0430\u0446\u0438\u0438<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<p>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0440\u0435\u043d\u043e\u0432\u0430\u0446\u0438\u0438 \u0431\u044b\u043b\u0430 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u0430 \u041f\u0440\u0430\u0432\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e\u043c \u041c\u043e\u0441\u043a\u0432\u044b \u0432 2017 \u0433\u043e\u0434\u0443. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0435\u0439 350 \u0442\u044b\u0441\u044f\u0447 \u043c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u0438\u0445 \u0441\u0435\u043c\u0435\u0439, \u0442\u043e \u0435\u0441\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u0430 \u0447\u0435\u043b\u043e\u0432\u0435\u043a, \u043f\u0435\u0440\u0435\u0435\u0434\u0443\u0442 \u0432 \u043d\u043e\u0432\u044b\u0435 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b \u0441 \u043e\u0442\u0434\u0435\u043b\u043a\u043e\u0439 \u043a\u043e\u043c\u0444\u043e\u0440\u0442\u043a\u043b\u0430\u0441\u0441\u0430.<\/p>\n<p>  <\/p>\n<p>\u041a\u0430\u043a\u0438\u0435 \u0434\u043e\u043c\u0430 \u0432\u043e\u0439\u0434\u0443\u0442 \u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443, \u0440\u0435\u0448\u0430\u043b\u0438 \u0441\u0430\u043c\u0438 \u0436\u0438\u0442\u0435\u043b\u0438. \u041f\u043e \u0438\u0442\u043e\u0433\u0430\u043c \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0431\u044b\u043b\u043e \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043e 5174 \u0434\u043e\u043c\u0430.<\/p>\n<p>  <\/p>\n<p>\u0423\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0442 \u0440\u0430\u0432\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u043e\u0435 \u0436\u0438\u043b\u044c\u0435 \u0432 \u0441\u0432\u043e\u0435\u043c \u0440\u0430\u0439\u043e\u043d\u0435\u2026 (\u0434\u0430\u043b\u0435\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c <a href=\"https:\/\/www.mos.ru\/city\/projects\/renovation\/\" rel=\"nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a>)<\/p>\n<\/div><\/div>\n<p>  <\/p>\n<p>\u041d\u0430 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u0440\u0438\u043a\u0430\u0437\u0430 \u043f\u0440\u0430\u0432\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430 \u041c\u043e\u0441\u043a\u0432\u044b \u043e\u0442 12 \u0430\u0432\u0433\u0443\u0441\u0442\u0430 2020 \u0433. \u2116 45\/182\/\u041f\u0420-335\/20 (\u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e <a href=\"https:\/\/www.mos.ru\/dgp\/documents\/baza-dokumentov\/view\/242049220\/\" rel=\"nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a>) \u0432\u0441\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043f\u0435\u0440\u0435\u0441\u0435\u043b\u0435\u043d\u0438\u044f \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043d\u0430 \u0434\u043e 2032 \u0433\u043e\u0434\u0430 \u0438 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0439\u0442\u0438 \u0432 \u0442\u0440\u0438 \u044d\u0442\u0430\u043f\u0430 (\u0442\u0440\u0438 \u0432\u043e\u043b\u043d\u044b):<\/p>\n<p>  <\/p>\n<ul>\n<li>\u043f\u0435\u0440\u0432\u044b\u0439 \u044d\u0442\u0430\u043f 2020 \u2014 2024\u0433\u0433., \u0432 \u043d\u0435\u0433\u043e \u0432\u043e\u0448\u043b\u043e 930 \u0434\u043e\u043c\u043e\u0432, \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b 3-29 \u0432 \u043f\u0440\u0438\u043a\u0430\u0437\u0435<\/li>\n<li>\u0432\u0442\u043e\u0440\u043e\u0439 \u044d\u0442\u0430\u043f 2025 \u2014 2028\u0433\u0433., \u0432 \u043d\u0435\u0433\u043e \u0432\u043e\u0448\u043b\u043e 1636 \u0434\u043e\u043c\u043e\u0432, \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b 30-76 \u0432 \u043f\u0440\u0438\u043a\u0430\u0437\u0435<\/li>\n<li>\u0442\u0440\u0435\u0442\u0438\u0439 \u044d\u0442\u0430\u043f 2029 \u2014 2032\u0433\u0433., \u0432 \u043d\u0435\u0433\u043e \u0432\u043e\u0448\u043b\u043e 1809 \u0434\u043e\u043c\u043e\u0432, \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b 77-128 \u0432 \u043f\u0440\u0438\u043a\u0430\u0437\u0435<\/li>\n<li>\u0431\u0435\u0437 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u044d\u0442\u0430\u043f\u0430 (\u044d\u0442\u0430\u043f\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u0443\u0434\u0443\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0434\u043e \u043a\u043e\u043d\u0446\u0430 1 \u043a\u0432\u0430\u0440\u0442\u0430\u043b\u0430 2021\u0433.) \u2014 688 \u0434\u043e\u043c\u043e\u0432, \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b 129-148 \u0432 \u043f\u0440\u0438\u043a\u0430\u0437\u0435<\/li>\n<\/ul>\n<p>  <\/p>\n<h2 id=\"2-parsing-dannyh\">2. \u041f\u0430\u0440\u0441\u0438\u043d\u0433 \u0434\u0430\u043d\u043d\u044b\u0445<\/h2>\n<p>  <\/p>\n<p>\u0414\u0430\u043d\u043d\u044b\u0435 \u044f \u0432\u0437\u044f\u043b \u0438\u0437 <a href=\"https:\/\/www.mos.ru\/dgp\/documents\/baza-dokumentov\/view\/242049220\/\" rel=\"nofollow\">\u044d\u0442\u043e\u0433\u043e<\/a> \u043f\u0440\u0438\u043a\u0430\u0437\u0430, \u0442.\u043a. \u043f\u0440\u0438\u043a\u0430\u0437 \u2014 \u044d\u0442\u043e pdf \u0444\u0430\u0439\u043b \u0441 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u043c\u0438, \u0442\u043e \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 <a href=\"https:\/\/pypi.org\/project\/tabula-py\/\" rel=\"nofollow\">tabula<\/a> \u0434\u043b\u044f \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 pdf \u0444\u0430\u0439\u043b\u043e\u0432.<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">import pandas as pd import numpy as np import requests from tabula import read_pdf import json import os<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u044f \u0441\u043f\u0430\u0440\u0441\u0438\u043b \u043e\u0434\u043d\u0443 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0438\u0437 \u044d\u0442\u0438\u0445 \u0442\u0430\u0431\u043b\u0438\u0446, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043a\u0430\u043a \u0434\u0430\u043b\u044c\u0448\u0435 \u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435.<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">test = read_pdf('prikaz_grafikpereseleniya.pdf', pages='3', pandas_options={'header':None})<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"python\">test.head()<\/code><\/pre>\n<div class=\"scrollable-table\">\n<table border=\"1\">\n<thead>\n<tr>\n<th><\/th>\n<th>0<\/th>\n<th>1<\/th>\n<th>2<\/th>\n<th>3<\/th>\n<th>4<\/th>\n<th>5<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th>0<\/th>\n<td>No \u043f\/\u043f<\/td>\n<td>\u0410\u041e<\/td>\n<td>\u0420\u0430\u0439\u043e\u043d<\/td>\n<td>NaN<\/td>\n<td>\u0410\u0434\u0440\u0435\u0441 \u0434\u043e\u043c\u0430<\/td>\n<td>unom<\/td>\n<\/tr>\n<tr>\n<th>1<\/th>\n<td>1<\/td>\n<td>\u0426\u0410\u041e<\/td>\n<td>\u0411\u0430\u0441\u043c\u0430\u043d\u043d\u044b\u0439<\/td>\n<td>\u0411\u0430\u043a\u0443\u043d\u0438\u043d\u0441\u043a\u0430\u044f \u0443\u043b., \u0434.49 c.4<\/td>\n<td>NaN<\/td>\n<td>1316<\/td>\n<\/tr>\n<tr>\n<th>2<\/th>\n<td>2<\/td>\n<td>\u0426\u0410\u041e<\/td>\n<td>\u0411\u0430\u0441\u043c\u0430\u043d\u043d\u044b\u0439<\/td>\n<td>\u0411\u0430\u043a\u0443\u043d\u0438\u043d\u0441\u043a\u0430\u044f \u0443\u043b., \u0434.77 c.3<\/td>\n<td>NaN<\/td>\n<td>1327<\/td>\n<\/tr>\n<tr>\n<th>3<\/th>\n<td>3<\/td>\n<td>\u0426\u0410\u041e<\/td>\n<td>\u0411\u0430\u0441\u043c\u0430\u043d\u043d\u044b\u0439<\/td>\n<td>\u0411\u0430\u043b\u0430\u043a\u0438\u0440\u0435\u0432\u0441\u043a\u0438\u0439 \u043f\u0435\u0440., \u0434.2\/26<\/td>\n<td>NaN<\/td>\n<td>19328<\/td>\n<\/tr>\n<tr>\n<th>4<\/th>\n<td>4<\/td>\n<td>\u0426\u0410\u041e<\/td>\n<td>\u0411\u0430\u0441\u043c\u0430\u043d\u043d\u044b\u0439<\/td>\n<td>\u0413\u043e\u0441\u043f\u0438\u0442\u0430\u043b\u044c\u043d\u044b\u0439 \u0412\u0430\u043b \u0443\u043b., \u0434.3<\/td>\n<td>NaN<\/td>\n<td>31354<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e \u0438\u0437 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0441\u043f\u0430\u0440\u0441\u0438\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043b\u0438\u0448\u043d\u0438\u0435 \u043a\u043e\u043b\u043e\u043d\u043a\u0438 \u0438 \u0441\u0442\u0440\u043e\u0447\u043a\u0438, \u0447\u0442\u043e \u0438 \u0434\u0435\u043b\u0430\u0435\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u044f <code>parse_pdf_table<\/code>.<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">def parse_pdf_table(pages, pdf_file='prikaz_grafikpereseleniya.pdf'):     df = read_pdf(pdf_file, pages=pages, pandas_options={'header':None})      # \u0443\u0434\u0430\u043b\u044f\u0435\u043c \u043d\u0435 \u043d\u0443\u0436\u043d\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438     df = df[~(df.iloc[:,0] == 'No \u043f\/\u043f')]      # \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0443\u0436\u043d\u044b\u0435 \u043a\u043e\u043b\u043e\u043d\u043a\u0438     df = df.iloc[:,1:4]     df.columns = ['AO', 'district', 'address']      return df<\/code><\/pre>\n<p>  <\/p>\n<p>\u041a\u0430\u0436\u0434\u0430\u044f \u0432\u043e\u043b\u043d\u0430 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0441\u0432\u043e\u0451\u043c \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446, \u043f\u0430\u0440\u0441\u0438\u043c \u0438\u0445 \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u043f\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0443, \u0442.\u0435. \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0442\u0440\u043e\u043a \u0434\u043e\u043b\u0436\u043d\u043e \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0442\u044c \u0441 \u0442\u0435\u043c, \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u0432 pdf \u0444\u0430\u0439\u043b\u0435. (\u0422\u0430\u043a\u0436\u0435 \u0441\u0440\u0430\u0437\u0443 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043a \u0434\u0430\u043d\u043d\u044b\u043c \u043d\u043e\u043c\u0435\u0440 \u0432\u043e\u043b\u043d\u044b, \u0442.\u043a. \u044d\u0442\u043e \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c) <\/p>\n<p>  <\/p>\n<pre><code class=\"python\">wave_1 = parse_pdf_table('3-29') # 2020 - 2024 wave_1['wave'] = 1<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"python\">wave_1.shape<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"plaintext\">(930, 4)<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"python\">wave_2 = parse_pdf_table('30-76') # 2025 - 2028 wave_2['wave'] = 2<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"python\">wave_2.shape<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"plaintext\">(1636, 4)<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"python\">wave_3 = parse_pdf_table('77-128') # 2029 - 2032 wave_3['wave'] = 3<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"python\">wave_3.shape<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"plaintext\">(1809, 4)<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"python\">unknown = parse_pdf_table('129-148') unknown['wave'] = 0<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"python\">unknown.shape<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"plaintext\">(688, 4)<\/code><\/pre>\n<p>  <\/p>\n<h2 id=\"3-obrabotka-dannyh\">3. \u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445<\/h2>\n<p>  <\/p>\n<p>\u041e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0431\u0443\u0434\u0435\u043c \u043d\u0430 \u043f\u0430\u043d\u0434\u0430\u0441\u0435 (<a href=\"https:\/\/pandas.pydata.org\/\" rel=\"nofollow\">pandas<\/a>), \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u043e\u0431\u0435\u0440\u0451\u043c \u0432\u0441\u0435 \u0432\u043e\u043b\u043d\u044b \u0432 \u043e\u0434\u0438\u043d \u0434\u0430\u0442\u0430\u0444\u0440\u0435\u0439\u043c <code>df<\/code>.<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">df = pd.concat([wave_1, wave_2, wave_3, unknown], ignore_index=True)<\/code><\/pre>\n<p>  <\/p>\n<p>\u0412\u044b\u0434\u0435\u043b\u0438\u043c \u0441\u0432\u043e\u0438\u043c \u0446\u0432\u0435\u0442\u043e\u043c \u043c\u0435\u0442\u043a\u0438 \u043a\u0430\u0436\u0434\u043e\u0439 \u0432\u043e\u043b\u043d\u044b.<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">df['marker-color'] = df['wave'].map({1:'#0ACF00',  # \u0437\u0435\u043b\u0435\u043d\u044b\u0439                                      2:'#1142AA',  # \u0441\u0438\u043d\u0438\u0439                                      3:'#FFFD00',  # \u0436\u0451\u043b\u0442\u044b\u0439                                      0:'#FD0006'}) # \u043a\u0440\u0430\u0441\u043d\u044b\u0439<\/code><\/pre>\n<p>  <\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043f\u043e\u0434\u043f\u0438\u0448\u0435\u043c \u043a\u0430\u0436\u0434\u0443\u044e \u043c\u0435\u0442\u043a\u0443 \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0432\u043e\u043b\u043d\u044b.<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">df['iconContent'] = df['wave'].map({1:'1',                                     2:'2',                                     3:'3',                                     0:''})<\/code><\/pre>\n<p>  <\/p>\n<p>\u0412 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043c\u0435\u0442\u043a\u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0430\u0434\u0440\u0435\u0441.<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">df['description'] = df['address']<\/code><\/pre>\n<p>  <\/p>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0435 \u0443\u0442\u043e\u0447\u043d\u0438\u0442\u044c \u0433\u043e\u0440\u043e\u0434 \u2014 \u041c\u043e\u0441\u043a\u0432\u0430, \u0442\u043e \u043f\u043e \u0434\u0430\u043d\u043d\u044b\u043c, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u043c \u0438\u0437 \u0433\u0435\u043e\u043a\u043e\u0434\u0435\u0440\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f, \u0447\u0442\u043e \u0440\u0435\u043d\u043e\u0432\u0430\u0446\u0438\u044f \u043d\u0430\u0447\u0430\u043b\u0430\u0441\u044c \u043f\u043e \u0432\u0441\u0435\u0439 \u0441\u0442\u0440\u0430\u043d\u0435, \u0434\u0430 \u0447\u0442\u043e \u0442\u0430\u043c, \u0432\u043e \u0432\u0441\u0451\u043c \u043c\u0438\u0440\u0435. (\u0414\u0430\u0451\u0448\u044c \u0440\u0435\u043d\u043e\u0432\u0430\u0446\u0438\u044e \u0432\u043e \u0432\u0441\u0451\u043c \u043c\u0438\u0440\u0435! \ud83d\ude42<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/af\/g_\/mf\/afg_mfvpxo5pwiaous7gktt6n7c.png\"><\/p>\n<p>  <\/p>\n<pre><code class=\"python\">def add_city(x):     if x['AO'] == '\u0417\u0435\u043b\u0410\u041e':         return '\u0417\u0435\u043b\u0435\u043d\u043e\u0433\u0440\u0430\u0434, ' + x['address']      return '\u041c\u043e\u0441\u043a\u0432\u0430, ' + x['address']<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"python\">df['address'] = df[['AO', 'address']].apply(add_city, axis=1)<\/code><\/pre>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0434\u043e\u043c\u0430 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b <a href=\"https:\/\/tech.yandex.ru\/maps\/geocoder\/\" rel=\"nofollow\">\u0433\u0435\u043e\u043a\u043e\u0434\u0435\u0440<\/a> \u044f\u043d\u0434\u0435\u043a\u0441\u0430, \u0447\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e, \u0442.\u043a. \u043e\u043d \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u0438 \u043d\u0430 \u043d\u0435\u0433\u043e \u0435\u0441\u0442\u044c \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f. \u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u0441\u0447\u0438\u0442\u0430\u0442\u044c \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b, \u0442\u043e \u043d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u0432\u0432\u0435\u0441\u0442\u0438 \u0441\u0432\u043e\u0439 <a href=\"https:\/\/yandex.ru\/blog\/mapsapi\/novye-pravila-dostupa-k-api-kart\" rel=\"nofollow\">\u043a\u043b\u044e\u0447<\/a>.<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">def geocoder(addr, key='\u0432\u0432\u0435\u0434\u0438 \u0441\u0432\u043e\u0439 \u043a\u043b\u044e\u0447'):        url = 'https:\/\/geocode-maps.yandex.ru\/1.x'     params = {'format':'json', 'apikey': key, 'geocode': addr}     response = requests.get(url, params=params)      try:         coordinates = response.json()[&quot;response&quot;][&quot;GeoObjectCollection&quot;][&quot;featureMember&quot;][0][&quot;GeoObject&quot;][&quot;Point&quot;][&quot;pos&quot;]         lon, lat = coordinates.split(' ')     except:         lon, lat = 0, 0      return lon, lat<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"python\">%%time df['longitude'], df['latitude'] = zip(*df['address'].apply(geocoder))<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"plaintext\">CPU times: user 2min 11s, sys: 4.31 s, total: 2min 15s Wall time: 15min 14s<\/code><\/pre>\n<p>  <\/p>\n<p>\u0412\u0441\u0435 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b\u0438\u0441\u044c \u0443\u0434\u0430\u0447\u043d\u043e (\u0438\u043c\u0435\u043d\u043d\u043e \u0443\u0434\u0430\u0447\u043d\u043e, \u0442.\u043a. \u043d\u0435\u0442 \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0439, \u0447\u0442\u043e \u0433\u0435\u043e\u043a\u043e\u0434\u0435\u0440 \u0441\u043f\u0430\u0440\u0441\u0438\u043b \u0430\u0434\u0440\u0435\u0441 \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e), \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0441\u043b\u043e\u0432\u0430\u043c\u0438 \u043e\u043d \u0445\u043e\u0442\u044f-\u0431\u044b \u0447\u0442\u043e-\u0442\u043e \u0432\u0435\u0440\u043d\u0443\u043b.<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">len(df[df['longitude'] == 0])<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"plaintext\">0<\/code><\/pre>\n<p>  <\/p>\n<p>\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435.<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">df.to_csv('waves.csv')<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"python\">#df = pd.read_csv('waves.csv')<\/code><\/pre>\n<p>  <\/p>\n<h2 id=\"4-formirovanie-karty-voln-renovacii\">4. \u0424\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u0430\u0440\u0442\u044b \u0432\u043e\u043b\u043d \u0440\u0435\u043d\u043e\u0432\u0430\u0446\u0438\u0438<\/h2>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u043a\u0430\u0440\u0442\u0435 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0444\u043e\u0440\u043c\u0430\u0442 <a href=\"https:\/\/yandex.ru\/support\/maps-builder\/concept\/markers_3.html#markers_3__GeoJSON\" rel=\"nofollow\">GeoJSON<\/a>.<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">def df_to_geojson(df, properties, lat='latitude', lon='longitude'):     geojson = {'type':'FeatureCollection', 'features':[]}     for _, row in df.iterrows():         feature = {'type':'Feature',                    'properties':{},                    'geometry':{'type':'Point',                                'coordinates':[]}}         feature['geometry']['coordinates'] = [row[lon],row[lat]]         for prop in properties:             feature['properties'][prop] = row[prop]         geojson['features'].append(feature)     return geojson<\/code><\/pre>\n<p>  <\/p>\n<p>\u0422.\u043a. \u043c\u0435\u0442\u043e\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e, \u0442\u043e \u043f\u043e\u043b\u043d\u0430\u044f \u043a\u0430\u0440\u0442\u0430 \u043c\u043e\u0436\u0435\u0442 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430 \u0441\u043b\u0430\u0431\u043e\u043c \u041f\u041a, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u043b \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u043e\u043a\u0440\u0443\u0433\u0430\u043c \u041c\u043e\u0441\u043a\u0432\u044b \u0434\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430.<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">properties = ['marker-color', 'iconContent', 'description']  if not os.path.exists('data'):     os.makedirs('data')  for ao, data in df.groupby('AO'):     geojson = df_to_geojson(data, properties)      with open('data\/' + ao + '.geojson', 'w') as f:         json.dump(geojson, f, indent=2) <\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 <code>.geojson<\/code> \u044f \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b \u0432 \u043f\u0430\u043f\u043a\u0443 <code>data<\/code>. \u0412 \u0444\u0430\u0439\u043b\u0435 <code>\u0412\u0421\u0415_\u041e\u041a\u0420\u0423\u0413\u0410.geojson<\/code> \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u044b \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u0432\u0441\u0435\u043c \u043e\u043a\u0440\u0443\u0433\u0430\u043c \u0432\u043c\u0435\u0441\u0442\u0435.<\/p>\n<p>  <\/p>\n<pre><code class=\"python\">geojson = df_to_geojson(df, properties)  with open('data\/\u0412\u0421\u0415_\u041e\u041a\u0420\u0423\u0413\u0410.geojson', 'w') as f:     json.dump(geojson, f, indent=2) <\/code><\/pre>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/nh\/uj\/ha\/nhujhaawqlmx8o3bw0w6rgxp5w4.png\"><\/p>\n<p>  <\/p>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043f\u043e\u043b\u043d\u0443\u044e \u043a\u0430\u0440\u0442\u0443 (\u043c\u043e\u0436\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e) <a href=\"https:\/\/yandex.ru\/maps\/?um=constructor%3Ab5b3736671cee4957550cef2a404906c86520c8c29266fe24e0cb5f1baef7c5b&amp;source=constructorLink\" rel=\"nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/c4\/05\/cm\/c405cm-ni4t0_4g35xxfwz71tqs.png\"><\/p>\n<p>  <\/p>\n<p>\u0412 \u0446\u0435\u043b\u043e\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u043d\u0435 \u043f\u043b\u043e\u0445\u043e, \u0432\u0441\u0435 \u043c\u0435\u0442\u043a\u0438 \u0432\u043d\u0443\u0442\u0440\u0438 \u0433\u0440\u0430\u043d\u0438\u0446 \u041c\u043e\u0441\u043a\u0432\u044b, \u043e\u0434\u043d\u0430\u043a\u043e, \u0435\u0441\u0442\u044c \u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043e\u0448\u0438\u0431\u043e\u043a, \u043a\u0430\u043a \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043d\u0435\u0434\u0430\u043b\u0435\u043a\u043e \u043e\u0442 \u0421\u0435\u0440\u0433\u0438\u0435\u0432\u0430 \u041f\u043e\u0441\u0430\u0434\u0430 \u2014 \u041f\u0440\u043e\u043b\u0435\u0442\u0430\u0440\u0438\u0439 \u0421\u041d\u0422 \u0442\u0435\u0440\u0440\u0438\u0442\u043e\u0440\u0438\u044f (\u043f.\u0412\u043e\u0440\u043e\u043d\u043e\u0432\u0441\u043a\u043e\u0435), \u0434.1 \u0438\u043b\u0438 \u0432 \u043e\u043a\u0440\u0435\u0441\u0442\u043d\u043e\u0441\u0442\u044f\u0445 \u041e\u0440\u0435\u0445\u043e\u0432\u043e-\u0417\u0443\u0435\u0432\u043e \u2014 \u0413\u0430\u0440\u0430\u0436\u043d\u044b\u0439 \u043f\u0435\u0440. (\u043f\u043e\u0441.\u0414\u0421\u041a \u041c\u0438\u0447\u0443\u0440\u0438\u043d\u0435\u0446, \u043f.\u0412\u043d\u0443\u043a\u043e\u0432\u0441\u043a\u043e\u0435), \u0434.8\/\u041a\u0411\/\u041d. (\u0427\u0435\u0441\u0442\u043d\u043e \u0433\u043e\u0432\u043e\u0440\u044f \u044f \u0431\u044b \u0438 \u0441\u0430\u043c \u043d\u0435 \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u043d\u044f\u043b, \u0433\u0434\u0435 \u044d\u0442\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f)<\/p>\n<p>  <\/p>\n<h2 id=\"5-chto-hotelos-sdelat-no-ne-poluchilos-\">5. \u0427\u0442\u043e \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u043d\u043e \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \ud83d\ude41<\/h2>\n<p>  <\/p>\n<p>\u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u044b\u0445 \u043f\u043b\u043e\u0449\u0430\u0434\u043e\u043a \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f <a href=\"https:\/\/www.mos.ru\/spisokploschadok.pdf\" rel=\"nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p>  <\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043d\u0430 \u043a\u0430\u0440\u0442\u0443 \u0432\u043e\u043b\u043d \u0440\u0435\u043d\u043e\u0432\u0430\u0446\u0438\u0438 \u044f \u0445\u043e\u0442\u0435\u043b \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u044b\u0435 \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0438, \u043e\u0434\u043d\u0430\u043a\u043e \u044d\u0442\u043e \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0434\u0430\u0436\u0435 \u043d\u0435 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u0441\u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c, \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u0440\u0435\u0448\u0438\u0442\u044c, \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0433\u0435\u043e\u043a\u043e\u0434\u0435\u0440 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0442\u043e\u0447\u043d\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u043f\u043e \u0432\u043b\u0430\u0434\u0435\u043d\u0438\u044e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0428\u043c\u0438\u0442\u043e\u0432\u0441\u043a\u0438\u0439 \u043f\u0440\u043e\u0435\u0437\u0434, \u0432\u043b. 39, \u041c\u0443\u043a\u043e\u043c\u043e\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u0437\u0434, \u0432\u043b. 6, \u0438\u043b\u0438 \u0433\u0434\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u044d\u0442\u043e\u0442 \u0430\u0434\u0440\u0435\u0441 \u2014 \u0440\u0430\u0439\u043e\u043d \u042e\u0436\u043d\u043e\u0435 \u041c\u0435\u0434\u0432\u0435\u0434\u043a\u043e\u0432\u043e, \u043c\u043a\u0440. 1, 2, 3, \u043a\u043e\u0440\u043f. 38.<\/p>\n<p>  <\/p>\n<p>\u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0434\u0430\u043d\u043d\u044b\u0445 \u044d\u0442\u043e \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u043a\u0430\u0440\u0442\u0430 \u0440\u0435\u043d\u043e\u0432\u0430\u0446\u0438\u0438 (\u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f <a href=\"https:\/\/www.mos.ru\/city\/projects\/renovation\/\" rel=\"nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a>), \u0430 \u043a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u0437 \u043d\u0435\u0451 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u044f \u043d\u0435 \u0437\u043d\u0430\u044e, \u0435\u0441\u043b\u0438 \u043a\u0442\u043e \u0437\u043d\u0430\u0435\u0442, \u043a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u044b\u0445 \u043f\u043b\u043e\u0449\u0430\u0434\u043e\u043a, \u043d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0445.<\/p>\n<p>  <\/p>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e \u043d\u0435 \u0432\u0441\u0451 \u0442\u0430\u043a \u043f\u043b\u043e\u0445\u043e \u0438 \u0432\u044b\u0445\u043e\u0434 \u0432\u0441\u0451 \u0436\u0435 \u0435\u0441\u0442\u044c \u2014 \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u0438 \u043c\u0435\u0442\u043a\u0438 \u0432\u0440\u0443\u0447\u043d\u0443\u044e!<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/jx\/_y\/1j\/jx_y1jodmahixhpno2rgfxevtos.jpeg\"><\/p>\n<p>  <\/p>\n<p>\u0412\u0438\u0434\u0435\u043e-\u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0441\u0442\u044c \u0432 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u043c \u043a\u043e\u0434\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0435\u0451 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c\/\u0441\u043a\u0430\u0447\u0430\u0442\u044c <a href=\"https:\/\/yadi.sk\/i\/K9dZ989nA_5E1A\" rel=\"nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p>  <\/p>\n<h2 id=\"vyvody\">\u0412\u044b\u0432\u043e\u0434\u044b<\/h2>\n<p>  <\/p>\n<p>\u0412 \u0446\u0435\u043b\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u0437\u0430\u0442\u0435\u044f \u0443\u0434\u0430\u043b\u0430\u0441\u044c, \u043e\u0434\u043d\u0430\u043a\u043e \u0435\u0449\u0451 \u0440\u0430\u0437 \u043f\u043e\u0432\u0442\u043e\u0440\u044e, \u0432\u044b\u0432\u043e\u0434\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u0441\u0445\u043e\u0434\u044f \u0438\u0437 \u044d\u0442\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u043e\u0441\u044f\u0442 \u043b\u0438\u0448\u044c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u044b\u0439 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440, \u0434\u0430\u0436\u0435 \u0432 \u0441\u0430\u043c\u043e\u043c \u043f\u0440\u0438\u043a\u0430\u0437\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e, \u0447\u0442\u043e \u0441\u0440\u043e\u043a\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0435 \u0432 \u043d\u0451\u043c \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u043e\u0447\u043d\u044b\u043c\u0438 \u0438 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0441\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u044b, \u043a \u0442\u043e\u043c\u0443 \u0436\u0435 \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0434\u043e\u043c\u043e\u0432 \u043f\u043e\u043a\u0430 \u0435\u0449\u0451 \u0434\u0430\u0436\u0435 \u043d\u0435 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043e. <\/p>\n<p>  <\/p>\n<p>\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u0437\u0430\u043b\u0438\u0442 \u043d\u0430 github \u0438 \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e <a href=\"https:\/\/github.com\/cdies\/wave_renovation\" rel=\"nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p>  <\/p>\n<p>\u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435.<\/p>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/516790\/\"> https:\/\/habr.com\/ru\/post\/516790\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/516790\/\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/la\/-5\/wu\/la-5wuusdknxmuonmghibtj2jso.png\"><\/p>\n<p>  <\/p>\n<p>\u0414\u043e\u0431\u0440\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0441\u0443\u0442\u043e\u043a \u0434\u043e\u0440\u043e\u0433\u0438\u0435 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u0438 \u0445\u0430\u0431\u0440\u0430, 12 \u0430\u0432\u0433\u0443\u0441\u0442\u0430 2020 \u0433\u043e\u0434\u0430 \u0431\u044b\u043b\u0438 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u044b \u044d\u0442\u0430\u043f\u044b \u043f\u0435\u0440\u0435\u0435\u0437\u0434\u0430 \u043f\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435 \u0440\u0435\u043d\u043e\u0432\u0430\u0446\u0438\u0438 (\u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u043c\u043e\u0436\u043d\u043e <a href=\"https:\/\/www.mos.ru\/news\/item\/78307073\/\" rel=\"nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a>) \u0438 \u043c\u043d\u0435 \u0441\u0442\u0430\u043b\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0430 \u043a\u0430\u043a \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c, \u0435\u0441\u043b\u0438 \u044d\u0442\u0438 \u044d\u0442\u0430\u043f\u044b \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u0422\u0443\u0442 \u043d\u0443\u0436\u043d\u043e \u0443\u0442\u043e\u0447\u043d\u0438\u0442\u044c, \u0447\u0442\u043e \u044f \u043d\u0438\u043a\u0430\u043a \u043d\u0438 \u0441\u0432\u044f\u0437\u0430\u043d \u0441 \u043f\u0440\u0430\u0432\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e\u043c \u041c\u043e\u0441\u043a\u0432\u044b, \u043d\u043e \u044f\u0432\u043b\u044f\u044e\u0441\u044c \u0441\u0447\u0430\u0441\u0442\u043b\u0438\u0432\u044b\u043c \u043e\u0431\u043b\u0430\u0434\u0430\u0442\u0435\u043b\u0435\u043c \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b \u0432 \u0434\u043e\u043c\u0435 \u043f\u043e\u0434 \u0440\u0435\u043d\u043e\u0432\u0430\u0446\u0438\u044e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u043d\u0435 \u0431\u044b\u043b\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043c\u043e\u0436\u0435\u0442 \u0434\u0430\u0436\u0435 \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c, \u043a\u0443\u0434\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0434\u0432\u0438\u0433\u0430\u0442\u044c\u0441\u044f \u0432\u043e\u043b\u043d\u0430 \u0440\u0435\u043d\u043e\u0432\u0430\u0446\u0438\u0438 \u0432 \u043c\u043e\u0451\u043c \u0441\u043b\u0443\u0447\u0430\u0435 (\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0438 \u0432 \u0432\u0430\u0448\u0435\u043c, \u0435\u0441\u043b\u0438 \u0432\u0430\u0441 \u0434\u043e\u0440\u043e\u0433\u043e\u0439 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044c \u044d\u0442\u043e \u0437\u0430\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442). \u041a\u043e\u043d\u0435\u0447\u043d\u043e \u0442\u043e\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0430 \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f, \u043d\u043e \u0445\u043e\u0442\u044f-\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u043a\u0430\u0440\u0442\u0438\u043d\u0443 \u043f\u043e\u0434 \u043d\u043e\u0432\u044b\u043c \u0443\u0433\u043b\u043e\u043c. \u0421\u0440\u0430\u0437\u0443 \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u043d\u0435 \u0432\u0441\u0451, \u0447\u0442\u043e \u044f \u0445\u043e\u0442\u0435\u043b \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u043d\u043e \u0435\u0441\u043b\u0438 \u043a\u043e\u043c\u0443-\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0441\u043e\u0431\u0438\u0440\u0430\u043b\u0438\u0441\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u043a\u0430\u043a\u0438\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u0441 \u044d\u0442\u0438\u043c \u0431\u044b\u043b\u0438 \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442. \u0417\u0430\u0431\u0435\u0433\u0430\u044f \u0432\u043f\u0435\u0440\u0451\u0434, \u0441\u043a\u0430\u0436\u0443, \u0447\u0442\u043e \u043f\u043e\u043c\u0435\u0442\u0438\u0442\u044c \u0434\u043e\u043c\u0430 \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u0432\u043e\u043b\u043d\u0430\u043c \u0440\u0435\u043d\u043e\u0432\u0430\u0446\u0438\u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c, \u043e\u0434\u043d\u0430\u043a\u043e \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c \u043d\u0430 \u043a\u0430\u0440\u0442\u0435 \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u044b\u0435 \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0438, \u0445\u043e\u0442\u044f \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432\u0440\u0443\u0447\u043d\u0443\u044e, \u043d\u0438\u0436\u0435 \u043f\u043e\u043a\u0430\u0436\u0443 \u043a\u0430\u043a.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-309103","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/309103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=309103"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/309103\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=309103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=309103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=309103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}