{"id":333383,"date":"2022-05-19T21:00:35","date_gmt":"2022-05-19T21:00:35","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=333383"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=333383","title":{"rendered":"<span>\u041a\u0430\u043a \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u0432 Seaborn<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h2>10 \u0442\u0438\u043f\u043e\u0432 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c, \u043e \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0437\u043d\u0430\u0442\u044c<\/h2>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/384\/d6f\/82d\/384d6f82d52dde856e9eb10ee03685ef.png\" width=\"549\" height=\"339\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/384\/d6f\/82d\/384d6f82d52dde856e9eb10ee03685ef.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0438 \u043c\u043e\u0433\u0443\u0442 \u0441\u043c\u0435\u043b\u043e \u043a\u043b\u0430\u0441\u0442\u044c \u044d\u0442\u0443 \u0448\u043f\u0430\u0440\u0433\u0430\u043b\u043a\u0443 \u0432 \u0437\u0430\u043a\u043b\u0430\u0434\u043a\u0438, \u0430 \u043c\u044b \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0430\u0435\u043c \u0432\u0430\u0441 \u043f\u043e\u0434 \u043a\u0430\u0442 \u0437\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430\u043c\u0438 \u0438 \u043a\u043e\u0434\u043e\u043c, \u043f\u043e\u043a\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0448 <a href=\"https:\/\/skillfactory.ru\/data-analyst-pro?utm_source=habr&amp;utm_medium=habr&amp;utm_campaign=article&amp;utm_content=analytics_dapr_190522&amp;utm_term=lead\"><u>\u043a\u0443\u0440\u0441 \u043f\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445<\/u><\/a>. \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u043c\u044b \u0441\u043e\u043a\u0440\u0430\u0442\u0438\u043b\u0438 \u0442\u0435\u043a\u0441\u0442 \u0438 \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u043b\u0438 \u0435\u0433\u043e \u0447\u0430\u0441\u0442\u044c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438, \u0431\u043b\u0438\u0436\u0435 \u043a \u043d\u0443\u0436\u043d\u044b\u043c \u0441\u0442\u0440\u043e\u043a\u0430\u043c \u043a\u043e\u0434\u0430.<\/p>\n<hr\/>\n<p>\u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043a\u0430\u0436\u0434\u0443\u044e \u0434\u0435\u0442\u0430\u043b\u044c \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u043c\u043d\u043e\u0433\u0438\u0435 \u043a\u0443\u0440\u0441\u044b \u0434\u043b\u044f \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445 \u043f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u044b \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044e \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 <a href=\"https:\/\/matplotlib.org\/\">Matplotlib<\/a>. \u041d\u043e \u044f \u0443\u0432\u044f\u0437\u043b\u0430 \u0432\u043e \u0432\u0441\u0435\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438, \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044f\u0445 \u0432 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0435 \u0438 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b. \u0418 \u043d\u0430\u0448\u043b\u0430 Seaborn.<\/p>\n<p><a href=\"https:\/\/seaborn.pydata.org\/\">Seaborn<\/a> \u2014 \u044d\u0442\u043e \u043b\u0430\u043a\u043e\u043d\u0438\u0447\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043a Matplotlib \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0438 \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c \u0438\u0437 \u043d\u0430\u0431\u043e\u0440\u043e\u0432 \u0434\u0430\u043d\u043d\u044b\u0445 Pandas. \u0427\u0438\u0442\u0430\u044f \u044d\u0442\u0443 \u0441\u0442\u0430\u0442\u044c\u044e, \u043b\u0443\u0447\u0448\u0435 \u0438\u043c\u0435\u0442\u044c \u043e\u0431\u0449\u0435\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e <a href=\"https:\/\/matplotlib.org\/stable\/api\/figure_api.html\">figure<\/a>, <a href=\"https:\/\/matplotlib.org\/stable\/api\/axes_api.html\">axes<\/a> \u0438 <a href=\"https:\/\/matplotlib.org\/stable\/api\/axis_api.html\">axis<\/a> Matplotlib.<\/p>\n<p>\u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u043d\u0430\u0431\u043e\u0440\u043e\u043c \u0434\u0430\u043d\u043d\u044b\u0445 <a href=\"https:\/\/www.kaggle.com\/datasets\/nehalbirla\/vehicle-dataset-from-cardekho?ref=hackernoon.com&amp;select=Car+details+v3.csv\">\u043e\u0431 \u0430\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u044f\u0445<\/a> \u043e\u0442 Kaggle \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 <a href=\"https:\/\/opendatacommons.org\/licenses\/dbcl\/1-0\/\">Open database<\/a>. \u041a\u043e\u0434 \u043d\u0438\u0436\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438, \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0441\u0442\u0438\u043b\u044c \u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u043d\u0430\u0431\u043e\u0440 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<pre><code class=\"python\">import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as sns sns.set_style('darkgrid') sns.set(font_scale=1.3) cars = pd.read_csv('edited_cars.csv')<\/code><\/pre>\n<p>\u042d\u043b\u0435\u043c\u0435\u043d\u0442\u044b Seaborn \u0434\u0435\u043b\u044f\u0442\u0441\u044f \u043d\u0430 \u0434\u0432\u0435 \u0433\u0440\u0443\u043f\u043f\u044b: \u043e\u0441\u0438 \u0438 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b.<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/seaborn.pydata.org\/tutorial\/function_overview.html#figure-level-vs-axes-level-functions\">\u041e\u0441\u0438<\/a> \u0438\u043c\u0438\u0442\u0438\u0440\u0443\u044e\u0442 Matplotlib \u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 ax \u043c\u043e\u0433\u0443\u0442 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0442\u044c\u0441\u044f \u0432 \u043f\u043e\u0434\u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b. \u041e\u043d\u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0442 \u043e\u0431\u044a\u0435\u043a\u0442 axes \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u043e\u0431\u044b\u0447\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0441\u0442\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u0438 Matplotlib.<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/seaborn.pydata.org\/tutorial\/function_overview.html\">\u0414\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b<\/a> \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u043e\u0439, \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u0441 \u043a\u0430\u043a\u0438\u043c\u0438-\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 \u0438 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u0434\u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b. \u041e\u043d\u0438 <em>\u043d\u0435<\/em> \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 ax \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0442 \u043e\u0431\u044a\u0435\u043a\u0442\u044b <a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.FacetGrid.html#seaborn.FacetGrid\">FacetGrid<\/a>, <a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.PairGrid.html#seaborn.PairGrid\">PairGrid<\/a> \u0438\u043b\u0438 <a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.JointGrid.html#seaborn.JointGrid\">JointGrid<\/a>. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 <a href=\"https:\/\/seaborn.pydata.org\/tutorial\/function_overview.html#customizing-plots-from-a-figure-level-function\">\u0440\u0430\u0437\u043d\u044b\u0435<\/a> \u0441\u0442\u0438\u043b\u0438 \u0438 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u044e \u0432\u0445\u043e\u0434\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<\/li>\n<\/ul>\n<h4>\u0418\u0437\u0443\u0447\u0435\u043d\u0438\u0435 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0439 \u043c\u0435\u0436\u0434\u0443 \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u043c\u0438 \u0441\u0442\u043e\u043b\u0431\u0446\u0430\u043c\u0438<\/h4>\n<p>\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u2014 \u044d\u0442\u043e \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u043b\u0438 \u0447\u0438\u0441\u043b\u0430. \u041f\u0435\u0440\u0432\u044b\u0435 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0431\u0443\u0434\u0443\u0442 \u043c\u0430\u0442\u0440\u0438\u0447\u043d\u044b\u043c\u0438. \u0427\u0442\u043e\u0431\u044b \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c \u0432\u0441\u0435 \u043f\u043e\u043f\u0430\u0440\u043d\u044b\u0435 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u043e\u0434\u043d\u043e\u0439 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0435, \u0432 \u043d\u0438\u0445 \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442\u0441\u044f \u0432\u0435\u0441\u044c \u0444\u0440\u0435\u0439\u043c \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<hr\/>\n<h4>1. \u041f\u0430\u0440\u043d\u044b\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b<\/h4>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.pairplot.html\">Pairplot<\/a> \u0434\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u0440 \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u0445 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u0441\u0435\u0442\u043a\u0443 \u0442\u043e\u0447\u0435\u0447\u043d\u044b\u0445 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c. \u041e\u043d \u0442\u0430\u043a\u0436\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 <a href=\"https:\/\/seaborn.pydata.org\/tutorial\/distributions.html#plotting-univariate-histograms\">\u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u0443<\/a> \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0432 \u0434\u0438\u0430\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430\u0445.<\/p>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.pairplot.html#seaborn.pairplot\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/p>\n<pre><code class=\"python\"># \u0424\u0443\u043d\u043a\u0446\u0438\u0438: sns.pairplot()  # \u0434\u0438\u0430\u0440\u0433\u0430\u043c\u043c\u0430.<\/code><\/pre>\n<p>\u041a\u043e\u0434 \u043f\u0440\u0438\u043c\u0435\u0440\u0430:<\/p>\n<pre><code class=\"python\">sns.pairplot(cars);<\/code><\/pre>\n<p>\u0421\u0442\u043e\u0438\u0442 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430:<\/p>\n<ul>\n<li>\n<p>\u0414\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u0440\u0430\u0441\u0441\u0435\u044f\u043d\u0438\u044f, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0435 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0435 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f (\u043a\u043e\u0433\u0434\u0430 x \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f, \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f y), \u043b\u0438\u0431\u043e \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 (\u043a\u043e\u0433\u0434\u0430 x \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f, y \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u0442\u0441\u044f).<\/p>\n<\/li>\n<li>\n<p>\u0413\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0432 \u0434\u0438\u0430\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430\u0445, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0435 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0445 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u0432.<\/p>\n<\/li>\n<\/ul>\n<p>\u041d\u0430 \u043f\u0430\u0440\u043d\u043e\u0439 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0435 \u043e\u0431\u0432\u0435\u0434\u0451\u043d\u043d\u044b\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u0443\u044e \u043b\u0438\u043d\u0435\u0439\u043d\u0443\u044e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c. \u0414\u0438\u0430\u0433\u043e\u043d\u0430\u043b\u044c \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 \u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0430; \u043b\u0435\u0432\u044b\u0439 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a \u043f\u0430\u0440\u043d\u043e\u0439 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u2014 \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u0442\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043f\u0440\u0430\u0432\u043e\u0433\u043e \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430.<\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/c4d\/69c\/467\/c4d69c4679b5d2f0789672d268741bfd.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/c4d\/69c\/467\/c4d69c4679b5d2f0789672d268741bfd.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0415\u0449\u0451 \u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"python\">sns.pairplot(     data=cars,      aspect=.85,     hue='transmission'); # hue='cat_col' \u043f\u043e\u0434\u0441\u0432\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u0443\u044e \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044e \u0434\u0440\u0443\u0433\u0438\u043c \u0446\u0432\u0435\u0442\u043e\u043c.<\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/2a1\/6ff\/cb9\/2a16ffcb9195b91763145831406ccb5d.png\" alt=\"\u0421\u0442\u043e\u0438\u0442 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u044b \u0440\u0430\u0437\u043d\u044b\u0445 \u0446\u0432\u0435\u0442\u043e\u0432 \u043d\u0430 \u0442\u043e\u0447\u0435\u0447\u043d\u044b\u0445 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430\u0445\" title=\"\u0421\u0442\u043e\u0438\u0442 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u044b \u0440\u0430\u0437\u043d\u044b\u0445 \u0446\u0432\u0435\u0442\u043e\u0432 \u043d\u0430 \u0442\u043e\u0447\u0435\u0447\u043d\u044b\u0445 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430\u0445\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/2a1\/6ff\/cb9\/2a16ffcb9195b91763145831406ccb5d.png\"\/><figcaption>\u0421\u0442\u043e\u0438\u0442 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u044b \u0440\u0430\u0437\u043d\u044b\u0445 \u0446\u0432\u0435\u0442\u043e\u0432 \u043d\u0430 \u0442\u043e\u0447\u0435\u0447\u043d\u044b\u0445 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430\u0445<\/figcaption><\/figure>\n<hr\/>\n<h4>2. \u0422\u0435\u043f\u043b\u043e\u0432\u0430\u044f \u043a\u0430\u0440\u0442\u0430<\/h4>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.heatmap.html\">\u0422\u0435\u043f\u043b\u043e\u0432\u0430\u044f \u043a\u0430\u0440\u0442\u0430<\/a> \u2014 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0432 \u0441\u0435\u0442\u043a\u0435 \u0446\u0432\u0435\u0442\u043e\u0432\u043e\u0439 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u043e\u0439. \u041d\u0430\u043d\u0435\u0441\u0451\u043d\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u2014 \u044d\u0442\u043e <a href=\"https:\/\/www.statisticshowto.com\/probability-and-statistics\/correlation-coefficient-formula\/\">\u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u044b \u043a\u043e\u0440\u0440\u0435\u043b\u044f\u0446\u0438\u0438<\/a> \u043f\u0430\u0440, \u043e\u0442\u0440\u0430\u0436\u0430\u044e\u0449\u0438\u0435 \u043c\u0435\u0440\u0443 \u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0445 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0439, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u0430 \u0434\u043b\u044f \u043f\u0430\u0440\u044b. \u0422\u0435\u043f\u043b\u043e\u0432\u0430\u044f \u043a\u0430\u0440\u0442\u0430 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0446\u0432\u0435\u0442\u0430, \u0442\u043e\u0433\u0434\u0430 \u043a\u0430\u043a \u043f\u0430\u0440\u043d\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0438\u043d\u0442\u0443\u0438\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0435 \u0442\u0435\u043d\u0434\u0435\u043d\u0446\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.heatmap.html#seaborn.heatmap\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/p>\n<pre><code class=\"python\"># \u0424\u0443\u043d\u043a\u0446\u0438\u0438: sns.heatmap() # \u043e\u0441\u0438.<\/code><\/pre>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"python\"># \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c df.corr(), \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u043e\u0432 \u043a\u043e\u0440\u0440\u0435\u043b\u044f\u0446\u0438\u0438: cars.corr()<\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/b71\/b69\/676\/b71b69676c35a6564ebc1fb3fe3952ef.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/b71\/b69\/676\/b71b69676c35a6564ebc1fb3fe3952ef.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u042d\u0442\u0443 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442 <a href=\"https:\/\/www.geeksforgeeks.org\/create-a-correlation-matrix-using-python\/\">\u043c\u0430\u0442\u0440\u0438\u0446\u0435\u0439 \u043a\u043e\u0440\u0440\u0435\u043b\u044f\u0446\u0438\u0439<\/a>. \u042d\u0442\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043d\u044f\u0442\u043d\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e sns.heatmap() \u043e\u0442\u0440\u0438\u0441\u0443\u0435\u043c \u0442\u0435\u043f\u043b\u043e\u0432\u0443\u044e \u043a\u0430\u0440\u0442\u0443:<\/p>\n<pre><code class=\"python\">sns.set(font_scale=1.15) plt.figure(figsize=(8,4)) sns.heatmap(     cars.corr(),             cmap='RdBu_r', # \u0437\u0430\u0434\u0430\u0451\u0442 \u0446\u0432\u0435\u0442\u043e\u0432\u0443\u044e \u0441\u0445\u0435\u043c\u0443     annot=True, # \u0440\u0438\u0441\u0443\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432\u043d\u0443\u0442\u0440\u0438 \u044f\u0447\u0435\u0435\u043a     vmin=-1, vmax=1); # \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430\u0447\u0430\u043b\u043e \u0446\u0432\u0435\u0442\u043e\u0432\u044b\u0445 \u043a\u043e\u0434\u043e\u0432 \u043e\u0442 -1 \u0434\u043e 1.<\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/974\/9cc\/fee\/9749ccfee83d0625b118e28c6affc8b4.png\" alt=\"\u0421\u0442\u043e\u0438\u0442 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u0441 \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u043a\u043e\u0440\u0440\u0435\u043b\u044f\u0446\u0438\u0435\u0439 \u2014 \u0442\u0451\u043c\u043d\u043e-\u043a\u0440\u0430\u0441\u043d\u044b\u0435 \u0438 \u0442\u0451\u043c\u043d\u043e-\u0441\u0438\u043d\u0438\u0435 \u043a\u043b\u0435\u0442\u043a\u0438. \u0411\u043b\u0438\u0437\u043e\u0441\u0442\u044c \u043a \u0435\u0434\u0438\u043d\u0438\u0446\u0435 \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u0441\u0438\u043b\u044c\u043d\u043e \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u043d\u0443\u044e \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u043b\u0438\u043d\u0435\u0439\u043d\u0443\u044e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c, \u0430 \u0431\u043b\u0438\u0437\u043e\u0441\u0442\u044c \u043a -1 \u2014 \u0441\u0438\u043b\u044c\u043d\u043e \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u043d\u0443\u044e \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c\" title=\"\u0421\u0442\u043e\u0438\u0442 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u0441 \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u043a\u043e\u0440\u0440\u0435\u043b\u044f\u0446\u0438\u0435\u0439 \u2014 \u0442\u0451\u043c\u043d\u043e-\u043a\u0440\u0430\u0441\u043d\u044b\u0435 \u0438 \u0442\u0451\u043c\u043d\u043e-\u0441\u0438\u043d\u0438\u0435 \u043a\u043b\u0435\u0442\u043a\u0438. \u0411\u043b\u0438\u0437\u043e\u0441\u0442\u044c \u043a \u0435\u0434\u0438\u043d\u0438\u0446\u0435 \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u0441\u0438\u043b\u044c\u043d\u043e \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u043d\u0443\u044e \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u043b\u0438\u043d\u0435\u0439\u043d\u0443\u044e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c, \u0430 \u0431\u043b\u0438\u0437\u043e\u0441\u0442\u044c \u043a -1 \u2014 \u0441\u0438\u043b\u044c\u043d\u043e \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u043d\u0443\u044e \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/974\/9cc\/fee\/9749ccfee83d0625b118e28c6affc8b4.png\"\/><figcaption>\u0421\u0442\u043e\u0438\u0442 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u0441 \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u043a\u043e\u0440\u0440\u0435\u043b\u044f\u0446\u0438\u0435\u0439 \u2014 \u0442\u0451\u043c\u043d\u043e-\u043a\u0440\u0430\u0441\u043d\u044b\u0435 \u0438 \u0442\u0451\u043c\u043d\u043e-\u0441\u0438\u043d\u0438\u0435 \u043a\u043b\u0435\u0442\u043a\u0438. \u0411\u043b\u0438\u0437\u043e\u0441\u0442\u044c \u043a \u0435\u0434\u0438\u043d\u0438\u0446\u0435 \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u0441\u0438\u043b\u044c\u043d\u043e \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u043d\u0443\u044e \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u043b\u0438\u043d\u0435\u0439\u043d\u0443\u044e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c, \u0430 \u0431\u043b\u0438\u0437\u043e\u0441\u0442\u044c \u043a -1 \u2014 \u0441\u0438\u043b\u044c\u043d\u043e \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u043d\u0443\u044e \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c<\/figcaption><\/figure>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/cef\/bef\/2ba\/cefbef2bacd1ba31400178c19121fca6.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/cef\/bef\/2ba\/cefbef2bacd1ba31400178c19121fca6.png\"\/><figcaption><\/figcaption><\/figure>\n<h4>3. \u0414\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u0440\u0430\u0441\u0441\u0435\u044f\u043d\u0438\u044f<\/h4>\n<p>\u0414\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u0440\u0430\u0441\u0441\u0435\u044f\u043d\u0438\u044f \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0432\u0437\u0430\u0438\u043c\u043e\u0441\u0432\u044f\u0437\u044c \u043c\u0435\u0436\u0434\u0443 \u0434\u0432\u0443\u043c\u044f \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u043c\u0438 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0430\u043c\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0442\u043e\u0447\u0435\u043a, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0445 \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435 \u044d\u0442\u0438\u0445 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0432\u043c\u0435\u0441\u0442\u0435.<\/p>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.scatterplot.html#seaborn.scatterplot\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<pre><code class=\"python\"># \u0424\u0443\u043d\u043a\u0446\u0438\u0438: sns.scatterplot() # \u043e\u0441\u0438. sns.relplot(kind='line')  # \u0434\u0438\u0430\u0440\u0433\u0430\u043c\u043c\u0430. # \u0424\u0443\u043d\u043a\u0446\u0438\u0438 \u0441 \u043b\u0438\u043d\u0438\u0435\u0439 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0438: sns.regplot() # \u043e\u0441\u0438. sns.lmplot() # \u0434\u0438\u0430\u0440\u0433\u0430\u043c\u043c\u0430.<\/code><\/pre>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"python\"># \u041f\u043e\u043a\u0430\u0436\u0435\u043c \u043e\u0431\u044a\u0451\u043c \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044f \u0438 \u043f\u0440\u043e\u0431\u0435\u0433 \u0430\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e sns.scatterplot(x='num_col1', y='num_col2', data=df) sns.set(font_scale=1.3) sns.scatterplot(     x='engine_cc',      y='mileage_kmpl',      data=cars) plt.xlabel(     'Engine size in CC') plt.ylabel(     'Fuel efficiency') <\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/378\/da5\/544\/378da5544c0f66271d8b54111fd77f08.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/378\/da5\/544\/378da5544c0f66271d8b54111fd77f08.png\"\/><figcaption><\/figcaption><\/figure>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.regplot.html#seaborn.regplot\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<p>\u0424\u0443\u043d\u043a\u0446\u0438\u044f regplot \u0440\u0438\u0441\u0443\u0435\u0442 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0443 \u0440\u0430\u0441\u0441\u0435\u044f\u043d\u0438\u044f \u0441 <a href=\"https:\/\/www.dummies.com\/article\/academics-the-arts\/math\/statistics\/how-to-calculate-a-regression-line-169795\/\">\u043b\u0438\u043d\u0438\u0435\u0439 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0438<\/a>, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0435\u0439 \u0442\u0435\u043d\u0434\u0435\u043d\u0446\u0438\u044e \u0432 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<p>\u041a\u043e\u0434:<\/p>\n<pre><code class=\"python\">sns.regplot(     x='engine_cc',      y='mileage_kmpl',      data=cars) plt.xlabel(     'Engine size in CC') plt.ylabel(     'Fuel efficiency') <\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/df5\/0d8\/310\/df50d83106953a621e5caedb93917ddd.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/df5\/0d8\/310\/df50d83106953a621e5caedb93917ddd.png\"\/><figcaption><\/figcaption><\/figure>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.scatterplot.html#seaborn.scatterplot\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<p>\u041a\u043e\u0434:<\/p>\n<pre><code class=\"python\">sns.scatterplot(     x='mileage_kmpl',     y='engine_cc',      data=cars,     palette='bright',     hue='fuel'); # \u043f\u043e\u0434\u0441\u0432\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u0443\u044e \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044e \u0434\u0440\u0443\u0433\u0438\u043c \u0446\u0432\u0435\u0442\u043e\u043c<\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/73d\/1fe\/b6f\/73d1feb6f3a3d38f40ea241f6f35b4c7.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/73d\/1fe\/b6f\/73d1feb6f3a3d38f40ea241f6f35b4c7.png\"\/><figcaption><\/figcaption><\/figure>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.relplot.html#seaborn.relplot\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<p>\u0414\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0439 relplot \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u0440\u0430\u0441\u0441\u0435\u044f\u043d\u0438\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e kind=&#8217;scatter&#8217; (\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e), \u0438\u043b\u0438 \u043b\u0438\u043d\u0435\u0439\u043d\u043e\u0439 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b (kind=&#8217;line&#8217;). \u0414\u043b\u044f \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043f\u043e \u0446\u0432\u0435\u0442\u0443 \u0432 kind=&#8217;scatter&#8217; \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f hue=&#8217;cat_col&#8217;.<\/p>\n<p>\u041a\u043e\u0434 \u043f\u0440\u0438\u043c\u0435\u0440\u0430:<\/p>\n<pre><code class=\"python\">sns.relplot(     x='mileage_kmpl',      y='engine_cc',      data=cars,      palette='bright',     kind='scatter',      hue='fuel');<\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/ee3\/8cb\/960\/ee38cb960e72107bf6f107bf899e92bd.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/ee3\/8cb\/960\/ee38cb960e72107bf6f107bf899e92bd.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u0434\u0432\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u0432\u044b\u0448\u0435 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b.<\/p>\n<pre><code class=\"python\">sns.relplot(x, y, data, kind='scatter', col='cat_col') # \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u043e\u0434\u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043e\u0432 \u043f\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u0430\u043c, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f col='cat_col' \u0438\/\u0438\u043b\u0438 \u043f\u043e \u0441\u0442\u0440\u043e\u043a\u0430\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e row='cat_col'\u044b\u043a\u0438.<\/code><\/pre>\n<p>\u0414\u0440\u0443\u0433\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"python\">sns.relplot(     x='year',      y='selling_price',      data=cars,      kind='scatter',      col='transmission'); # \u0434\u0430\u043d\u043d\u044b\u0435 \u0440\u0430\u0437\u0431\u0438\u0442\u044b \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u043f\u043e \u0442\u0438\u043f\u0443 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0430\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u044f <\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/b96\/830\/838\/b96830838dd5d347858969203236b84a.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/b96\/830\/838\/b96830838dd5d347858969203236b84a.png\"\/><figcaption><\/figcaption><\/figure>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.relplot.html#seaborn.relplot\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<pre><code class=\"python\">sns.relplot(x,y,data, hue='cat_col1', col='cat_col2') #<\/code><\/pre>\n<p>\u041a\u043e\u0434 \u043f\u0440\u0438\u043c\u0435\u0440\u0430:<\/p>\n<pre><code class=\"python\">sns.relplot(     x='year',      y='selling_price',      data=cars,     palette='bright',     height=3, aspect=1.3,     kind='scatter',      hue='transmission',     col='fuel',     col_wrap=2); # \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432 \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0439 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438<\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/b01\/ae9\/153\/b01ae915390f0f6a3c6e0ef9e62ffd22.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/b01\/ae9\/153\/b01ae915390f0f6a3c6e0ef9e62ffd22.png\"\/><figcaption><\/figcaption><\/figure>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.lmplot.html#seaborn.lmplot\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438. lmplot \u2014 <a href=\"https:\/\/seaborn.pydata.org\/tutorial\/regression.html#conditioning-on-other-variables\">\u0440\u0430\u0437\u043d\u043e\u0432\u0438\u0434\u043d\u043e\u0441\u0442\u044c<\/a> regplot \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b: \u043e\u043d\u0430 \u0440\u0438\u0441\u0443\u0435\u0442 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0443 \u0440\u0430\u0441\u0441\u0435\u044f\u043d\u0438\u044f \u0441 \u043b\u0438\u043d\u0438\u0435\u0439 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0438 \u043d\u0430 FacetGrid. \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 kind \u0443 implot \u043d\u0435\u0442.<\/p>\n<p>\u041a\u043e\u0434 \u043f\u0440\u0438\u043c\u0435\u0440\u0430:<\/p>\n<pre><code class=\"python\">sns.lmplot(     x=\"seats\",      y=\"engine_cc\",      data=cars,     palette='bright',     col=\"transmission\",      hue=\"fuel\");<\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/c4f\/285\/89a\/c4f28589a79a39a811e03ad5b232ea20.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/c4f\/285\/89a\/c4f28589a79a39a811e03ad5b232ea20.png\"\/><figcaption><\/figcaption><\/figure>\n<hr\/>\n<h4>4. \u041b\u0438\u043d\u0435\u0439\u043d\u044b\u0439 \u0433\u0440\u0430\u0444\u0438\u043a<\/h4>\n<p>\u041b\u0438\u043d\u0435\u0439\u043d\u044b\u0439 \u0433\u0440\u0430\u0444\u0438\u043a \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0442\u043e\u0447\u0435\u043a, \u0441\u043e\u0435\u0434\u0438\u043d\u0451\u043d\u043d\u044b\u0445 \u043b\u0438\u043d\u0438\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0441\u0432\u044f\u0437\u044c \u043c\u0435\u0436\u0434\u0443 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c\u0438 x \u0438 y. \u041e\u0441\u044c x \u043e\u0431\u044b\u0447\u043d\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u044b, \u043e\u0441\u044c y \u2014 \u0447\u0438\u0441\u043b\u043e\u0432\u0443\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e, \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0432\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u0441\u043b\u0435\u0434\u0438\u0442\u044c.<\/p>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.lineplot.html#seaborn.lineplot\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<pre><code class=\"python\"># \u0424\u0443\u043d\u043a\u0446\u0438\u0438: sns.lineplot() # \u043e\u0441\u0438. sns.relplot(kind='line') # \u0434\u0438\u0430\u0440\u0433\u0430\u043c\u043c\u0430.<\/code><\/pre>\n<p>\u041a\u043e\u0434 \u043f\u0440\u0438\u043c\u0435\u0440\u0430:<\/p>\n<pre><code class=\"python\">sns.lineplot(     x=\"year\",      y=\"selling_price\",     data=cars)<\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/c19\/54b\/8e6\/c1954b8e64991fe92cde1d33aba811f1.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/c19\/54b\/8e6\/c1954b8e64991fe92cde1d33aba811f1.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0414\u0440\u0443\u0433\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"python\">sns.lineplot(     x=\"year\",      y=\"selling_price\",     data=cars,     palette='bright',     hue='fuel');<\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/06e\/2f0\/fc5\/06e2f0fc547fbec1e00566795f2a9f85.png\" alt=\"\" title=\"\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/06e\/2f0\/fc5\/06e2f0fc547fbec1e00566795f2a9f85.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0415\u0449\u0451 \u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"python\">sns.relplot(     x=\"year\",      y=\"selling_price\",     data=cars,     color='blue', height=4     kind='line', # \u0441\u0442\u0440\u043e\u0438\u0442 \u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0439 \u0433\u0440\u0430\u0444\u0438\u043a     col='transmission'); # \u0440\u0438\u0441\u0443\u0435\u0442 \u0433\u0440\u0430\u0444\u0438\u043a \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0439 \u0434\u0432\u0443\u0445 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 'transmission'. <\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/792\/5f8\/19c\/7925f819cbfc71dfeac8b8f6a13775e1.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/792\/5f8\/19c\/7925f819cbfc71dfeac8b8f6a13775e1.png\"\/><figcaption><\/figcaption><\/figure>\n<pre><code class=\"python\"># \u041f\u043e\u0434\u043e\u0431\u043d\u044b\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f kind='line' \u0438 hue: sns.relplot(     x=\"year\",      y=\"selling_price\",      data=cars,     palette='bright',      height=4,     kind='line',      col='transmission',     hue=\"fuel\");<\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/02a\/cd9\/c48\/02acd9c4810e60ee98ddd5a72f561f8d.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/02a\/cd9\/c48\/02acd9c4810e60ee98ddd5a72f561f8d.png\"\/><figcaption><\/figcaption><\/figure>\n<hr\/>\n<h4>5. \u0421\u0432\u043e\u0434\u043d\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430<\/h4>\n<p>\u0421\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 <a href=\"https:\/\/ajaytech.co\/2020\/09\/28\/8780\/\">\u0442\u0440\u0451\u0445 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c <\/a>\u0432 \u043e\u0434\u043d\u043e\u0439. \u0426\u0435\u043d\u0442\u0440 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0431\u0438\u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043d\u0443\u044e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c \u043c\u0435\u0436\u0434\u0443 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c\u0438 x \u0438 y. \u041d\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430\u0445 \u0441\u0432\u0435\u0440\u0445\u0443 \u0438 \u0441\u043f\u0440\u0430\u0432\u0430 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043e\u0434\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0435 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u043f\u043e \u043e\u0441\u044f\u043c x \u0438 \u0443 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e.<\/p>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.jointplot.html\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<pre><code class=\"python\"># \u0424\u0443\u043d\u043a\u0446\u0438\u0438: sns.jointplot()  # \u0434\u0438\u0430\u0440\u0433\u0430\u043c\u043c\u0430. sns.jointplot(x='num_col1, y='num_col2, data=df)  # \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u2014 \u044d\u0442\u043e \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u0440\u0430\u0441\u0441\u0435\u044f\u043d\u0438\u044f (kind='scatter')  # \u0411\u043e\u043a\u043e\u0432\u044b\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u2014 \u044d\u0442\u043e \u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b.<\/code><\/pre>\n<p>\u041a\u043e\u0434 \u043f\u0440\u0438\u043c\u0435\u0440\u0430:<\/p>\n<pre><code class=\"python\">sns.jointplot(     x='max_power_bhp',      y='selling_price',      data=cars); <\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/11b\/d1a\/dc4\/11bd1adc463b0fb349d84e7a5d5e602d.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/11b\/d1a\/dc4\/11bd1adc463b0fb349d84e7a5d5e602d.png\"\/><figcaption><\/figcaption><\/figure>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/8af\/2d8\/d62\/8af2d8d620dfc2ddfb0f398a6b6cae4c.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/8af\/2d8\/d62\/8af2d8d620dfc2ddfb0f398a6b6cae4c.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0415\u0449\u0451 \u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"python\">sns.jointplot(     x='selling_price',      y='max_power_bhp',      data=cars,       palette='bright',     hue='transmission');<\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/9eb\/fb3\/c4c\/9ebfb3c4c2896ab7b497e4baa4c6cd2d.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/9eb\/fb3\/c4c\/9ebfb3c4c2896ab7b497e4baa4c6cd2d.png\"\/><figcaption><\/figcaption><\/figure>\n<h4>\u0418\u0437\u0443\u0447\u0435\u043d\u0438\u0435 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0439 \u043c\u0435\u0436\u0434\u0443 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0438 \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438<\/h4>\n<p>\u041d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430\u0445 \u043e\u0441\u044c x \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0430\u043b\u044c\u043d\u0443\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e, \u0430 \u043e\u0441\u044c Y \u2014 \u0447\u0438\u0441\u043b\u043e\u0432\u0443\u044e.<\/p>\n<hr\/>\n<h4>6. \u0413\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u0430<\/h4>\n<p>\u0413\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0441\u0442\u043e\u043b\u0431\u0446\u044b \u0440\u0430\u0437\u043d\u043e\u0439 \u0432\u044b\u0441\u043e\u0442\u044b \u0434\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0447\u0438\u0441\u043b\u043e\u0432\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u043c\u0435\u0436\u0434\u0443 \u0433\u0440\u0443\u043f\u043f\u0430\u043c\u0438 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u044b\u0441\u043e\u0442\u0430 \u0441\u0442\u043e\u043b\u0431\u0446\u0430 \u043e\u0446\u0435\u043d\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u00ab\u0441\u0440\u0435\u0434\u043d\u0435\u0433\u043e\u00bb: \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 estimator \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442 \u044d\u0442\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"https:\/\/github.com\/jmbejara\/comp-econ-sp18\/issues\/24\">\u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445<\/a> \u0444\u0443\u043d\u043a\u0446\u0438\u0439 Python, \u0442\u0430\u043a\u0438\u0445 \u043a\u0430\u043a estimator=max \u0438\u043b\u0438 len, \u0438\u043b\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 <a href=\"https:\/\/www.pythonprogramming.in\/numpy-aggregate-and-statistical-functions.html\">NumPy<\/a> \u043d\u0430\u043f\u043e\u0434\u043e\u0431\u0438\u0435 np.max \u0438 np.median.<\/p>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.barplot.html#seaborn.barplot\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<pre><code class=\"python\"># \u0424\u0443\u043d\u043a\u0446\u0438\u0438: sns.barplot() # \u043e\u0441\u0438. sns.catplot(kind='bar') # \u0434\u0438\u0430\u0440\u0433\u0430\u043c\u043c\u0430. <\/code><\/pre>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"python\">sns.barplot(     x='fuel',      y='selling_price',      data=cars,      color='blue',     # estimator=sum,     # estimator=np.median);<\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/a5b\/6f6\/74e\/a5b6f674e49869b4f0c561f43ce1b34c.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a5b\/6f6\/74e\/a5b6f674e49869b4f0c561f43ce1b34c.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0415\u0449\u0451 \u043e\u0434\u0438\u043d \u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"python\">sns.barplot(     x='fuel',      y='selling_price',      data=cars,      palette='bright'     hue='transmission');<\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/fa4\/370\/6dd\/fa43706dd24d904f5e3e7e6c40d61814.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/fa4\/370\/6dd\/fa43706dd24d904f5e3e7e6c40d61814.png\"\/><figcaption><\/figcaption><\/figure>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.catplot.html#seaborn.catplot\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<pre><code class=\"python\">sns.catplot(x, y, data, kind='bar', hue='cat_col')<\/code><\/pre>\n<p>\u0422\u0438\u043f \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c kind, \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043e\u043d \u0440\u0430\u0432\u0435\u043d &#8216;strip&#8217;. \u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u044b \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f <code>'swarm', 'box', 'violin', 'boxen', 'point' \u0438 'bar'<\/code>. \u0412\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f catplot \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b, \u043f\u043e\u0445\u043e\u0436\u0435\u0439 \u043d\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0443\u044e.<\/p>\n<p>\u041a\u043e\u0434 \u043f\u0440\u0438\u043c\u0435\u0440\u0430:<\/p>\n<pre><code class=\"python\">sns.catplot(     x='fuel',      y='selling_price',      data=cars,     palette='bright',     kind='bar',     hue='transmission'); <\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/308\/a76\/85f\/308a7685f6555346e7271d745dfa582e.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/308\/a76\/85f\/308a7685f6555346e7271d745dfa582e.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0447\u0435\u0440\u0435\u0437 catplot:<\/p>\n<pre><code class=\"python\">g = sns.catplot(         x='fuel',          y='selling_price',          data=cars,         palette='bright',         height=3, aspect=1.3,         kind='bar',         hue='transmission',          col ='seller_type',         col_wrap=2) # \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432 \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0439, \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u043c\u044b\u0445 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 g.set_titles(     'Seller: {col_name}');<\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/dcb\/a2e\/6c7\/dcba2e6c72cc67a892ec2bae32c0d5aa.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/dcb\/a2e\/6c7\/dcba2e6c72cc67a892ec2bae32c0d5aa.png\"\/><figcaption><\/figcaption><\/figure>\n<h4>7. \u0422\u043e\u0447\u0435\u0447\u043d\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430<\/h4>\n<p>\u0412\u043c\u0435\u0441\u0442\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432 \u0442\u043e\u0447\u0435\u0447\u043d\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0442\u043e\u0447\u043a\u0438, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0435 \u0441\u0440\u0435\u0434\u043d\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 (\u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u0443\u044e \u043e\u0446\u0435\u043d\u043a\u0443) \u043a\u0430\u0436\u0434\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u044b \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0439. \u0422\u043e\u0447\u043a\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u044f\u044e\u0442\u0441\u044f \u043b\u0438\u043d\u0438\u0435\u0439, \u0447\u0442\u043e \u0443\u043f\u0440\u043e\u0449\u0430\u0435\u0442 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u0439 \u0442\u0435\u043d\u0434\u0435\u043d\u0446\u0438\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 <code>y<\/code> \u0434\u043b\u044f \u0433\u0440\u0443\u043f\u043f.<\/p>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.pointplot.html#seaborn.pointplot\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<pre><code class=\"python\"># \u0424\u0443\u043d\u043a\u0446\u0438\u0438: sns.pointplot() # \u043e\u0441\u0438. sns.catplot(kind='point') # \u0434\u0438\u0430\u0440\u0433\u0430\u043c\u043c\u0430. <\/code><\/pre>\n<p>\u041a\u043e\u0434 \u043f\u0440\u0438\u043c\u0435\u0440\u0430:<\/p>\n<pre><code class=\"python\">sns.pointplot(     x='seller_type',      y='mileage_kmpl',      data=cars); <\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/69e\/5df\/f6e\/69e5dff6ec3dda09d080e4b44cd2082d.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/69e\/5df\/f6e\/69e5dff6ec3dda09d080e4b44cd2082d.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041a\u043e\u0433\u0434\u0430 \u0432\u044b \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0435 \u0442\u0440\u0435\u0442\u044c\u044e \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e hue, \u0442\u043e\u0447\u0435\u0447\u043d\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043d\u0435\u0435 \u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0447\u0435\u0440\u0435\u0437 \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u044b\u0439 hue \u043a\u043b\u0430\u0441\u0441 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043b\u0438\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0443\u043f\u0440\u043e\u0449\u0430\u0435\u0442 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u043f\u043e \u0433\u0440\u0443\u043f\u043f\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 x.<\/p>\n<p>\u0422\u043e\u0447\u0435\u0447\u043d\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u0441 catplot:<\/p>\n<pre><code class=\"python\">sns.catplot(     x='transmission',      y='selling_price',      data=cars,      palette='bright',     kind='point', # \u0442\u043e\u0447\u0435\u0447\u043d\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430     hue='seller_type'); # \u0422\u0443 \u0436\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0443 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f sns.paitplot \u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 hue.<\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/4bf\/2fe\/cdf\/4bf2fecdf4b951308d8305a33349f1b8.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/4bf\/2fe\/cdf\/4bf2fecdf4b951308d8305a33349f1b8.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0414\u0440\u0443\u0433\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"python\">sns.catplot(     x='fuel',      y='year',      data=cars,      ci=None,       height=5, # \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e      aspect=.8,     kind='point',     # \u0412 hue \u0438 col \u0443\u043a\u0430\u0437\u0430\u043d\u0430 \u043e\u0434\u043d\u0430 \u0438 \u0442\u0430 \u0436\u0435 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f     hue='owner',      col='owner',      col_wrap=3);<\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/ccb\/6f9\/be1\/ccb6f9be122f79e1e4cc7159e00fe6cb.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/ccb\/6f9\/be1\/ccb6f9be122f79e1e4cc7159e00fe6cb.png\"\/><figcaption><\/figcaption><\/figure>\n<hr\/>\n<h4>8. \u042f\u0449\u0438\u043a \u0441 \u0443\u0441\u0430\u043c\u0438<\/h4>\n<p>\u042f\u0449\u0438\u043a \u0441 \u0443\u0441\u0430\u043c\u0438 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043c\u0435\u0436\u0434\u0443 \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u043c\u0438 \u0438 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c\u0438, \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e <a href=\"https:\/\/en.wikipedia.org\/wiki\/Quartile\">\u043a\u0432\u0430\u0440\u0442\u0438\u043b\u044f\u0445<\/a>.<\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/f33\/169\/609\/f331696092564682e698009dda9bd738.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f33\/169\/609\/f331696092564682e698009dda9bd738.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041d\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430\u0445 \u0432\u0438\u0434\u043d\u043e \u043d\u0430\u0438\u043c\u0435\u043d\u044c\u0448\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u043c\u0435\u0434\u0438\u0430\u043d\u0443, \u043d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0438 \u0432\u044b\u0431\u0440\u043e\u0441\u044b \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0439.<\/p>\n<pre><code class=\"python\"># \u0424\u0443\u043d\u043a\u0446\u0438\u0438: sns.boxplot() # \u043e\u0441\u0438. sns.catplot(kind='box') # \u0434\u0438\u0430\u0440\u0433\u0430\u043c\u043c\u0430.<\/code><\/pre>\n<p>\u041a\u043e\u0434 \u043f\u0440\u0438\u043c\u0435\u0440\u0430:<\/p>\n<pre><code class=\"python\">sns.boxplot(x='cat_col', y='num_col', data=df) sns.boxplot(     x='owner',      y='engine_cc',      data=cars,      color='blue') plt.xticks(rotation=45,             ha='right');<\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/60b\/274\/f1d\/60b274f1dc38a4ad541e04145a552263.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/60b\/274\/f1d\/60b274f1dc38a4ad541e04145a552263.png\"\/><figcaption><\/figcaption><\/figure>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.boxplot.html\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<p>\u0415\u0449\u0451 \u043e\u0434\u0438\u043d \u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"python\">sns.boxplot(     x='fuel',      y='max_power_bhp',      data=cars,     palette='bright',     hue='transmission'); <\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/19c\/fc6\/0ae\/19cfc60ae894a8e230628748e0c9e998.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/19c\/fc6\/0ae\/19cfc60ae894a8e230628748e0c9e998.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0422\u043e \u0436\u0435 \u0447\u0435\u0440\u0435\u0437 catplot:<\/p>\n<pre><code class=\"python\">sns.catplot(     x='fuel',      y='max_power_bhp',     data=cars,     palette='bright',     kind = 'box', # \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 catplot \u0441 kind='box'     col='transmission'); # \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u043e\u0434\u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c \u0443\u043a\u0430\u0436\u0438\u0442\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 col<\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/269\/681\/ffc\/269681ffca0a955f00d7066e497e2bce.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/269\/681\/ffc\/269681ffca0a955f00d7066e497e2bce.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0441 catplot \u0441\u043b\u043e\u0436\u043d\u0435\u0435:<\/p>\n<pre><code class=\"python\">g = sns.catplot(         x='owner',          y='year',          data=cars,         palette='bright',         height=3, aspect=1.5,         kind='box',          hue='transmission',          col='fuel',         col_wrap=2) g.set_titles(     'Fuel: {col_name}'); g.set_xticklabels(     rotation=45, ha='right') <\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/0ba\/85c\/8ee\/0ba85c8ee80e076817436d53eb3b022f.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/0ba\/85c\/8ee\/0ba85c8ee80e076817436d53eb3b022f.png\"\/><figcaption><\/figcaption><\/figure>\n<hr\/>\n<h4>9. \u0421\u043a\u0440\u0438\u043f\u0438\u0447\u043d\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430<\/h4>\n<p>\u0412 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a \u043a\u0432\u0430\u0440\u0442\u0438\u043b\u044f\u043c \u044f\u0449\u0438\u043a\u0430 \u0441 \u0443\u0441\u0430\u043c\u0438, \u0441\u043a\u0440\u0438\u043f\u0438\u0447\u043d\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u0440\u0438\u0441\u0443\u0435\u0442 \u043a\u0440\u0438\u0432\u0443\u044e <a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%AF%D0%B4%D0%B5%D1%80%D0%BD%D0%B0%D1%8F_%D0%BE%D1%86%D0%B5%D0%BD%D0%BA%D0%B0_%D0%BF%D0%BB%D0%BE%D1%82%D0%BD%D0%BE%D1%81%D1%82%D0%B8\">\u044f\u0434\u0435\u0440\u043d\u043e\u0439 \u043e\u0446\u0435\u043d\u043a\u0438 \u043f\u043b\u043e\u0442\u043d\u043e\u0441\u0442\u0438<\/a>, \u043e\u0442\u0440\u0430\u0436\u0430\u044e\u0449\u0443\u044e \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0438 \u043d\u0430\u0431\u043b\u044e\u0434\u0435\u043d\u0438\u0439 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043e\u0431\u043b\u0430\u0441\u0442\u044f\u0445.<\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/bc4\/1fb\/0c9\/bc41fb0c97ae9982b1edba075f2babd5.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/bc4\/1fb\/0c9\/bc41fb0c97ae9982b1edba075f2babd5.png\"\/><figcaption><\/figcaption><\/figure>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.violinplot.html\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<pre><code class=\"python\"># \u0424\u0443\u043d\u043a\u0446\u0438\u0438: sns.violinplot() # \u043e\u0441\u0438. sns.catplot(kind='violin') # \u0434\u0438\u0430\u0440\u0433\u0430\u043c\u043c\u0430.<\/code><\/pre>\n<p>\u041a\u043e\u0434 \u043f\u0440\u0438\u043c\u0435\u0440\u0430:<\/p>\n<pre><code class=\"python\">sns.violinplot(x='cat_col', y='num_col', data=df) sns.violinplot(     x='transmission',      y='engine_cc',      data=cars,      color='blue'); <\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/38e\/5c7\/700\/38e5c7700bd081e9da05dd4469805b56.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/38e\/5c7\/700\/38e5c7700bd081e9da05dd4469805b56.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0414\u0440\u0443\u0433\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0441 catplot:<\/p>\n<pre><code class=\"python\">g = sns.catplot(         x='owner',          y='year',          data=cars,         palette='bright',         height=3,         aspect=2         split=False,          # split=True \u0440\u0438\u0441\u0443\u0435\u0442 \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u0443 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430.         # \u042d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043a\u043e\u0433\u0434\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f hue \u0438\u043c\u0435\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u0432\u0430 \u043a\u043b\u0430\u0441\u0441\u0430.         # \u0421\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u043d\u0438\u0436\u0435         kind='violin',          hue='transmission') g.set_xticklabels(         rotation=45,          ha='right') # \u0422\u043e\u0442 \u0436\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 sns.violinplot c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c hue<\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/3dc\/e33\/316\/3dce3331650a83cc4663ca4b108d7f65.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/3dc\/e33\/316\/3dce3331650a83cc4663ca4b108d7f65.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0424\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u044f \u043f\u043e \u0434\u0432\u0443\u043c \u043a\u043b\u0430\u0441\u0441\u0430\u043c \u0447\u0435\u0440\u0435\u0437 catplot:<\/p>\n<pre><code class=\"python\"># \u0417\u0434\u0435\u0441\u044c \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f 'diesel' \u0438 'patrol': my_df = cars[cars['fuel'].isin(['Diesel','Petrol'])] g = sns.catplot(          x=\"owner\",          y=\"engine_cc\",          data=my_df,         palette='bright',         kind = 'violin',          hue=\"transmission\",         col = 'fuel') g.set_xticklabels(         rotation=90); <\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/c1c\/7e3\/6f1\/c1c7e36f1e696276f10440f64737a36d.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/c1c\/7e3\/6f1\/c1c7e36f1e696276f10440f64737a36d.png\"\/><figcaption><\/figcaption><\/figure>\n<hr\/>\n<h4>10. \u041e\u0434\u043d\u043e\u043c\u0435\u0440\u043d\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u0440\u0430\u0441\u0441\u0435\u044f\u043d\u0438\u044f<\/h4>\n<p>\u0422\u043e\u0447\u043a\u0438 \u044d\u0442\u043e\u0439 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442, \u043a\u0430\u043a \u0447\u0438\u0441\u043b\u043e\u0432\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u043c\u0435\u0436\u0434\u0443 \u043a\u043b\u0430\u0441\u0441\u0430\u043c\u0438 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439. \u0415\u0451 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043a\u0430\u043a \u0442\u043e\u0447\u0435\u0447\u043d\u0443\u044e \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0443, \u0433\u0434\u0435 \u043e\u0434\u043d\u0430 \u0438\u0437 \u043e\u0441\u0435\u0439 \u043e\u0442\u0440\u0430\u0436\u0430\u0435\u0442 \u043f\u0440\u0438\u0437\u043d\u0430\u043a \u0432 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.stripplot.html\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<pre><code class=\"python\"># \u0424\u0443\u043d\u043a\u0446\u0438\u0438: sns.stripplot() # \u043e\u0441\u0438. sns.catplot(kind='strip') # \u0434\u0438\u0430\u0440\u0433\u0430\u043c\u043c\u0430.  <\/code><\/pre>\n<p>\u041a\u043e\u0434 \u043f\u0440\u0438\u043c\u0435\u0440\u0430:<\/p>\n<pre><code class=\"python\">sns.stripplot(x='cat_col', y='num_col', data=df) plt.figure(     figsize=(12, 6)) sns.stripplot(     x='year',      y='km_driven',      data=cars,      linewidth=.5,      color='blue') plt.xticks(rotation=90); <\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/4e3\/aef\/485\/4e3aef485a4306c5a6657bbbe81143cc.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/4e3\/aef\/485\/4e3aef485a4306c5a6657bbbe81143cc.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0447\u0435\u0440\u0435\u0437 catplot:<\/p>\n<pre><code class=\"python\">sns.catplot(     # kind='strip' \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e     x='seats',      y='km_driven',      data=cars,      palette='bright',      height=3,     aspect=2.5,     # \u0410\u0440\u0433\u0443\u043c\u0435\u043d\u0442 dodge=True (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e dodge='False') \u0434\u0435\u043b\u0438\u0442 \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u043b\u0438\u043d\u0438\u044e \u0442\u043e\u0447\u0435\u043a \u043f\u043e \u0446\u0432\u0435\u0442\u0443     kind='strip',     hue='transmission');<\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/f58\/9fe\/9b9\/f589fe9b9d3af903541dfd387c3de92d.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f58\/9fe\/9b9\/f589fe9b9d3af903541dfd387c3de92d.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0415\u0449\u0451 \u043e\u0434\u0438\u043d \u043f\u0440\u0438\u043c\u0435\u0440 \u0441 catplot:<\/p>\n<pre><code class=\"python\">g = sns.catplot(         x=\"seller_type\",          y=\"year\",          data=cars,          palette='bright',          height=3, aspect=1.6,         kind='strip',           hue='owner',         col='fuel',         col_wrap=2) g.set_xticklabels(         rotation=45,          ha='right');<\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/5f8\/e8a\/968\/5f8e8a968a329cda8711e36b5a26f32b.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/5f8\/e8a\/968\/5f8e8a968a329cda8711e36b5a26f32b.png\"\/><figcaption><\/figcaption><\/figure>\n<h4>\u041a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044f \u043e\u0434\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0439 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u0440\u0430\u0441\u0441\u0435\u044f\u043d\u0438\u044f \u0438 \u0441\u043a\u0440\u0438\u043f\u0438\u0447\u043d\u043e\u0439 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b<\/h4>\n<p>\u041e\u0434\u043d\u043e\u043c\u0435\u0440\u043d\u0443\u044e \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0443 \u0440\u0430\u0441\u0441\u0435\u044f\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u043a\u043e\u043c\u0431\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043e \u0441\u043a\u0440\u0438\u043f\u0438\u0447\u043d\u043e\u0439 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u043e\u0439 \u0438\u043b\u0438 \u044f\u0449\u0438\u043a\u043e\u043c \u0441 \u0443\u0441\u0430\u043c\u0438, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u043e\u0432 \u0438\u043b\u0438 \u0432\u044b\u0431\u0440\u043e\u0441\u043e\u0432 \u0432 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0441 catplot:<\/p>\n<pre><code class=\"python\">g = sns.catplot(         x='seats',          y='mileage_kmpl',          data=cars,         palette='bright',         aspect=2,         inner=None,         kind='violin') sns.stripplot(     x='seats',      y='mileage_kmpl',      data=cars,     color='k',      linewidth=0.2,     edgecolor='white',     ax=g.ax); <\/code><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/r\/w1560\/getpro\/habr\/upload_files\/68f\/a1a\/3b4\/68fa1a3b4130e276b1ecae9773399ee0.png\" width=\"auto\" height=\"auto\" data-src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/68f\/a1a\/3b4\/68fa1a3b4130e276b1ecae9773399ee0.png\"\/><figcaption><\/figcaption><\/figure>\n<h4>\u0417\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f<\/h4>\n<ul>\n<li>\n<p>\u0421\u0442\u043e\u043b\u0431\u0446\u044b \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c, \u0442\u0430\u043a\u0438\u0445 \u043a\u0430\u043a \u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0438 \u044f\u0449\u0438\u043a\u0438 \u0441 \u0443\u0441\u0430\u043c\u0438, \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u043c\u0438, \u043f\u043e\u043c\u0435\u043d\u044f\u0432 \u043c\u0435\u0441\u0442\u0430\u043c\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 x \u0438 y.<\/p>\n<\/li>\n<li>\n<p>\u0421\u043e\u0432\u043c\u0435\u0441\u0442\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b row \u0438 col \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0443\u0440\u043e\u0432\u043d\u044f \u0444\u0438\u0433\u0443\u0440\u044b <a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.FacetGrid.html\">FacetGrid<\/a> \u043c\u043e\u0433\u0443\u0442 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435 \u043a \u043f\u043e\u0434\u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c. \u041e\u0434\u043d\u0430\u043a\u043e col_wrap <strong>\u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442<\/strong> \u0441 row.<\/p>\n<\/li>\n<li>\n<p>FacetGrid \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, sns.catplot(kind=&#8217;violin&#8217;) \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 split, \u043d\u043e \u0434\u0440\u0443\u0433\u0438\u0435 &#8216;kind&#8217; \u2014 <strong>\u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442<\/strong> \u0435\u0433\u043e. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u043e &#8216;kind&#8217; \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0432 <a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.catplot.html\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a>.<\/p>\n<\/li>\n<li>\n<p>\u0424\u0443\u043d\u043a\u0446\u0438\u0438 \u0443\u0440\u043e\u0432\u043d\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u0441\u043e\u0437\u0434\u0430\u044e\u0442 \u0438 \u0434\u0432\u0443\u043c\u0435\u0440\u043d\u044b\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, sns.catplot(x=&#8217;fuel&#8217;, y=&#8217;mileage_cc&#8217;, data=cars, kind=&#8217;bar&#8217;) \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442 \u043f\u0440\u043e\u0441\u0442\u0443\u044e \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432\u0443\u044e \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0443.<\/p>\n<\/li>\n<\/ul>\n<h4>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h4>\n<p>\u041c\u044b \u043f\u0440\u043e\u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0434\u0432\u0443\u043c\u0435\u0440\u043d\u044b\u0439 \u0438 \u043c\u043d\u043e\u0433\u043e\u043c\u0435\u0440\u043d\u044b\u0439 <a href=\"https:\/\/www.kaggle.com\/datasets\/nehalbirla\/vehicle-dataset-from-cardekho?ref=hackernoon.com&amp;select=Car+details+v3.csv\">\u043d\u0430\u0431\u043e\u0440 \u0434\u0430\u043d\u043d\u044b\u0445<\/a>. \u0427\u0442\u043e\u0431\u044b \u043d\u0430\u0439\u0442\u0438 \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0441 \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u043a\u043e\u0440\u0440\u0435\u043b\u044f\u0446\u0438\u0435\u0439, \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u043c\u0430\u0442\u0440\u0438\u0447\u043d\u044b\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f \u0432 \u0441\u0435\u0442\u043a\u0435. \u0417\u0430\u0442\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u043e\u0441\u0435\u0439 \u0438 \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u043c\u0438 \u0438 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0441\u0442\u043e\u043b\u0431\u0446\u0430\u043c\u0438.<\/p>\n<p>\u041a\u043e\u0434 \u0432\u044b \u043d\u0430\u0439\u0434\u0451\u0442\u0435 <a href=\"https:\/\/github.com\/suemnjeri\/medium-articles\/blob\/main\/Seaborn%20plot%20functions\/Multivariate%20analysis%20vehicle%20dataset.ipynb\">\u043d\u0430 GitHub<\/a>.<\/p>\n<p>\u0410 \u043c\u044b \u043f\u043e\u043c\u043e\u0436\u0435\u043c \u0432\u0430\u043c \u043f\u0440\u043e\u043a\u0430\u0447\u0430\u0442\u044c \u043d\u0430\u0432\u044b\u043a\u0438 \u0438\u043b\u0438 \u0441 \u0441\u0430\u043c\u043e\u0433\u043e \u043d\u0430\u0447\u0430\u043b\u0430 \u043e\u0441\u0432\u043e\u0438\u0442\u044c \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u044e, \u0432\u043e\u0441\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0432 \u043b\u044e\u0431\u043e\u0435 \u0432\u0440\u0435\u043c\u044f.<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/skillfactory.ru\/data-analyst-pro?utm_source=habr&amp;utm_medium=habr&amp;utm_campaign=article&amp;utm_content=analytics_dapr_190522&amp;utm_term=conc\">\u041f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u044f Data Analyst<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/skillfactory.ru\/data-scientist-pro?utm_source=habr&amp;utm_medium=habr&amp;utm_campaign=article&amp;utm_content=data-science_dspr_190522&amp;utm_term=conc\">\u041f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u044f Data Scientist<\/a><\/p>\n<\/li>\n<\/ul>\n<p>\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0443\u044e <a href=\"https:\/\/skillfactory.ru\/catalogue?utm_source=habr&amp;utm_medium=habr&amp;utm_campaign=article&amp;utm_content=sf_allcourses_190522&amp;utm_term=conc\">\u0432\u043e\u0441\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u044e<\/a>.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/0e2\/eb8\/646\/0e2eb864695dd585dbc4ad31275ea6da.png\" width=\"1000\" height=\"200\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/0e2\/eb8\/646\/0e2eb864695dd585dbc4ad31275ea6da.png\"\/><figcaption><\/figcaption><\/figure>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \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\/company\/skillfactory\/blog\/664756\/\"> https:\/\/habr.com\/ru\/company\/skillfactory\/blog\/664756\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h2>10 \u0442\u0438\u043f\u043e\u0432 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c, \u043e \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0437\u043d\u0430\u0442\u044c<\/h2>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0438 \u043c\u043e\u0433\u0443\u0442 \u0441\u043c\u0435\u043b\u043e \u043a\u043b\u0430\u0441\u0442\u044c \u044d\u0442\u0443 \u0448\u043f\u0430\u0440\u0433\u0430\u043b\u043a\u0443 \u0432 \u0437\u0430\u043a\u043b\u0430\u0434\u043a\u0438, \u0430 \u043c\u044b \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0430\u0435\u043c \u0432\u0430\u0441 \u043f\u043e\u0434 \u043a\u0430\u0442 \u0437\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430\u043c\u0438 \u0438 \u043a\u043e\u0434\u043e\u043c, \u043f\u043e\u043a\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0448 <a href=\"https:\/\/skillfactory.ru\/data-analyst-pro?utm_source=habr&amp;utm_medium=habr&amp;utm_campaign=article&amp;utm_content=analytics_dapr_190522&amp;utm_term=lead\"><u>\u043a\u0443\u0440\u0441 \u043f\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445<\/u><\/a>. \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u043c\u044b \u0441\u043e\u043a\u0440\u0430\u0442\u0438\u043b\u0438 \u0442\u0435\u043a\u0441\u0442 \u0438 \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u043b\u0438 \u0435\u0433\u043e \u0447\u0430\u0441\u0442\u044c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438, \u0431\u043b\u0438\u0436\u0435 \u043a \u043d\u0443\u0436\u043d\u044b\u043c \u0441\u0442\u0440\u043e\u043a\u0430\u043c \u043a\u043e\u0434\u0430.<\/p>\n<hr\/>\n<p>\u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043a\u0430\u0436\u0434\u0443\u044e \u0434\u0435\u0442\u0430\u043b\u044c \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u043c\u043d\u043e\u0433\u0438\u0435 \u043a\u0443\u0440\u0441\u044b \u0434\u043b\u044f \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445 \u043f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u044b \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044e \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 <a href=\"https:\/\/matplotlib.org\/\">Matplotlib<\/a>. \u041d\u043e \u044f \u0443\u0432\u044f\u0437\u043b\u0430 \u0432\u043e \u0432\u0441\u0435\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438, \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044f\u0445 \u0432 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0435 \u0438 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b. \u0418 \u043d\u0430\u0448\u043b\u0430 Seaborn.<\/p>\n<p><a href=\"https:\/\/seaborn.pydata.org\/\">Seaborn<\/a> \u2014 \u044d\u0442\u043e \u043b\u0430\u043a\u043e\u043d\u0438\u0447\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043a Matplotlib \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0438 \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c \u0438\u0437 \u043d\u0430\u0431\u043e\u0440\u043e\u0432 \u0434\u0430\u043d\u043d\u044b\u0445 Pandas. \u0427\u0438\u0442\u0430\u044f \u044d\u0442\u0443 \u0441\u0442\u0430\u0442\u044c\u044e, \u043b\u0443\u0447\u0448\u0435 \u0438\u043c\u0435\u0442\u044c \u043e\u0431\u0449\u0435\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e <a href=\"https:\/\/matplotlib.org\/stable\/api\/figure_api.html\">figure<\/a>, <a href=\"https:\/\/matplotlib.org\/stable\/api\/axes_api.html\">axes<\/a> \u0438 <a href=\"https:\/\/matplotlib.org\/stable\/api\/axis_api.html\">axis<\/a> Matplotlib.<\/p>\n<p>\u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u043d\u0430\u0431\u043e\u0440\u043e\u043c \u0434\u0430\u043d\u043d\u044b\u0445 <a href=\"https:\/\/www.kaggle.com\/datasets\/nehalbirla\/vehicle-dataset-from-cardekho?ref=hackernoon.com&amp;select=Car+details+v3.csv\">\u043e\u0431 \u0430\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u044f\u0445<\/a> \u043e\u0442 Kaggle \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 <a href=\"https:\/\/opendatacommons.org\/licenses\/dbcl\/1-0\/\">Open database<\/a>. \u041a\u043e\u0434 \u043d\u0438\u0436\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438, \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0441\u0442\u0438\u043b\u044c \u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u043d\u0430\u0431\u043e\u0440 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<pre><code class=\"python\">import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as sns sns.set_style('darkgrid') sns.set(font_scale=1.3) cars = pd.read_csv('edited_cars.csv')<\/code><\/pre>\n<p>\u042d\u043b\u0435\u043c\u0435\u043d\u0442\u044b Seaborn \u0434\u0435\u043b\u044f\u0442\u0441\u044f \u043d\u0430 \u0434\u0432\u0435 \u0433\u0440\u0443\u043f\u043f\u044b: \u043e\u0441\u0438 \u0438 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b.<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/seaborn.pydata.org\/tutorial\/function_overview.html#figure-level-vs-axes-level-functions\">\u041e\u0441\u0438<\/a> \u0438\u043c\u0438\u0442\u0438\u0440\u0443\u044e\u0442 Matplotlib \u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 ax \u043c\u043e\u0433\u0443\u0442 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0442\u044c\u0441\u044f \u0432 \u043f\u043e\u0434\u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b. \u041e\u043d\u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0442 \u043e\u0431\u044a\u0435\u043a\u0442 axes \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u043e\u0431\u044b\u0447\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0441\u0442\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u0438 Matplotlib.<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/seaborn.pydata.org\/tutorial\/function_overview.html\">\u0414\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b<\/a> \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u043e\u0439, \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u0441 \u043a\u0430\u043a\u0438\u043c\u0438-\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 \u0438 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u0434\u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b. \u041e\u043d\u0438 <em>\u043d\u0435<\/em> \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 ax \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0442 \u043e\u0431\u044a\u0435\u043a\u0442\u044b <a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.FacetGrid.html#seaborn.FacetGrid\">FacetGrid<\/a>, <a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.PairGrid.html#seaborn.PairGrid\">PairGrid<\/a> \u0438\u043b\u0438 <a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.JointGrid.html#seaborn.JointGrid\">JointGrid<\/a>. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 <a href=\"https:\/\/seaborn.pydata.org\/tutorial\/function_overview.html#customizing-plots-from-a-figure-level-function\">\u0440\u0430\u0437\u043d\u044b\u0435<\/a> \u0441\u0442\u0438\u043b\u0438 \u0438 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u044e \u0432\u0445\u043e\u0434\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<\/li>\n<\/ul>\n<h4>\u0418\u0437\u0443\u0447\u0435\u043d\u0438\u0435 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0439 \u043c\u0435\u0436\u0434\u0443 \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u043c\u0438 \u0441\u0442\u043e\u043b\u0431\u0446\u0430\u043c\u0438<\/h4>\n<p>\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u2014 \u044d\u0442\u043e \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u043b\u0438 \u0447\u0438\u0441\u043b\u0430. \u041f\u0435\u0440\u0432\u044b\u0435 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0431\u0443\u0434\u0443\u0442 \u043c\u0430\u0442\u0440\u0438\u0447\u043d\u044b\u043c\u0438. \u0427\u0442\u043e\u0431\u044b \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c \u0432\u0441\u0435 \u043f\u043e\u043f\u0430\u0440\u043d\u044b\u0435 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u043e\u0434\u043d\u043e\u0439 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0435, \u0432 \u043d\u0438\u0445 \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442\u0441\u044f \u0432\u0435\u0441\u044c \u0444\u0440\u0435\u0439\u043c \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<hr\/>\n<h4>1. \u041f\u0430\u0440\u043d\u044b\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b<\/h4>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.pairplot.html\">Pairplot<\/a> \u0434\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u0440 \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u0445 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u0441\u0435\u0442\u043a\u0443 \u0442\u043e\u0447\u0435\u0447\u043d\u044b\u0445 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c. \u041e\u043d \u0442\u0430\u043a\u0436\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 <a href=\"https:\/\/seaborn.pydata.org\/tutorial\/distributions.html#plotting-univariate-histograms\">\u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u0443<\/a> \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0432 \u0434\u0438\u0430\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430\u0445.<\/p>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.pairplot.html#seaborn.pairplot\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/p>\n<pre><code class=\"python\"># \u0424\u0443\u043d\u043a\u0446\u0438\u0438: sns.pairplot()  # \u0434\u0438\u0430\u0440\u0433\u0430\u043c\u043c\u0430.<\/code><\/pre>\n<p>\u041a\u043e\u0434 \u043f\u0440\u0438\u043c\u0435\u0440\u0430:<\/p>\n<pre><code class=\"python\">sns.pairplot(cars);<\/code><\/pre>\n<p>\u0421\u0442\u043e\u0438\u0442 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430:<\/p>\n<ul>\n<li>\n<p>\u0414\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u0440\u0430\u0441\u0441\u0435\u044f\u043d\u0438\u044f, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0435 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0435 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f (\u043a\u043e\u0433\u0434\u0430 x \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f, \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f y), \u043b\u0438\u0431\u043e \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 (\u043a\u043e\u0433\u0434\u0430 x \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f, y \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u0442\u0441\u044f).<\/p>\n<\/li>\n<li>\n<p>\u0413\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0432 \u0434\u0438\u0430\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430\u0445, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0435 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0445 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u0432.<\/p>\n<\/li>\n<\/ul>\n<p>\u041d\u0430 \u043f\u0430\u0440\u043d\u043e\u0439 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0435 \u043e\u0431\u0432\u0435\u0434\u0451\u043d\u043d\u044b\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u0443\u044e \u043b\u0438\u043d\u0435\u0439\u043d\u0443\u044e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c. \u0414\u0438\u0430\u0433\u043e\u043d\u0430\u043b\u044c \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 \u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0430; \u043b\u0435\u0432\u044b\u0439 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a \u043f\u0430\u0440\u043d\u043e\u0439 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u2014 \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u0442\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043f\u0440\u0430\u0432\u043e\u0433\u043e \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430.<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0415\u0449\u0451 \u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"python\">sns.pairplot(     data=cars,      aspect=.85,     hue='transmission'); # hue='cat_col' \u043f\u043e\u0434\u0441\u0432\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u0443\u044e \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044e \u0434\u0440\u0443\u0433\u0438\u043c \u0446\u0432\u0435\u0442\u043e\u043c.<\/code><\/pre>\n<figure class=\"\"><figcaption>\u0421\u0442\u043e\u0438\u0442 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u044b \u0440\u0430\u0437\u043d\u044b\u0445 \u0446\u0432\u0435\u0442\u043e\u0432 \u043d\u0430 \u0442\u043e\u0447\u0435\u0447\u043d\u044b\u0445 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430\u0445<\/figcaption><\/figure>\n<hr\/>\n<h4>2. \u0422\u0435\u043f\u043b\u043e\u0432\u0430\u044f \u043a\u0430\u0440\u0442\u0430<\/h4>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.heatmap.html\">\u0422\u0435\u043f\u043b\u043e\u0432\u0430\u044f \u043a\u0430\u0440\u0442\u0430<\/a> \u2014 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0432 \u0441\u0435\u0442\u043a\u0435 \u0446\u0432\u0435\u0442\u043e\u0432\u043e\u0439 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u043e\u0439. \u041d\u0430\u043d\u0435\u0441\u0451\u043d\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u2014 \u044d\u0442\u043e <a href=\"https:\/\/www.statisticshowto.com\/probability-and-statistics\/correlation-coefficient-formula\/\">\u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u044b \u043a\u043e\u0440\u0440\u0435\u043b\u044f\u0446\u0438\u0438<\/a> \u043f\u0430\u0440, \u043e\u0442\u0440\u0430\u0436\u0430\u044e\u0449\u0438\u0435 \u043c\u0435\u0440\u0443 \u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0445 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0439, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u0430 \u0434\u043b\u044f \u043f\u0430\u0440\u044b. \u0422\u0435\u043f\u043b\u043e\u0432\u0430\u044f \u043a\u0430\u0440\u0442\u0430 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0446\u0432\u0435\u0442\u0430, \u0442\u043e\u0433\u0434\u0430 \u043a\u0430\u043a \u043f\u0430\u0440\u043d\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0438\u043d\u0442\u0443\u0438\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0435 \u0442\u0435\u043d\u0434\u0435\u043d\u0446\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.heatmap.html#seaborn.heatmap\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/p>\n<pre><code class=\"python\"># \u0424\u0443\u043d\u043a\u0446\u0438\u0438: sns.heatmap() # \u043e\u0441\u0438.<\/code><\/pre>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"python\"># \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c df.corr(), \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u043e\u0432 \u043a\u043e\u0440\u0440\u0435\u043b\u044f\u0446\u0438\u0438: cars.corr()<\/code><\/pre>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u042d\u0442\u0443 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442 <a href=\"https:\/\/www.geeksforgeeks.org\/create-a-correlation-matrix-using-python\/\">\u043c\u0430\u0442\u0440\u0438\u0446\u0435\u0439 \u043a\u043e\u0440\u0440\u0435\u043b\u044f\u0446\u0438\u0439<\/a>. \u042d\u0442\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043d\u044f\u0442\u043d\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e sns.heatmap() \u043e\u0442\u0440\u0438\u0441\u0443\u0435\u043c \u0442\u0435\u043f\u043b\u043e\u0432\u0443\u044e \u043a\u0430\u0440\u0442\u0443:<\/p>\n<pre><code class=\"python\">sns.set(font_scale=1.15) plt.figure(figsize=(8,4)) sns.heatmap(     cars.corr(),             cmap='RdBu_r', # \u0437\u0430\u0434\u0430\u0451\u0442 \u0446\u0432\u0435\u0442\u043e\u0432\u0443\u044e \u0441\u0445\u0435\u043c\u0443     annot=True, # \u0440\u0438\u0441\u0443\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432\u043d\u0443\u0442\u0440\u0438 \u044f\u0447\u0435\u0435\u043a     vmin=-1, vmax=1); # \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430\u0447\u0430\u043b\u043e \u0446\u0432\u0435\u0442\u043e\u0432\u044b\u0445 \u043a\u043e\u0434\u043e\u0432 \u043e\u0442 -1 \u0434\u043e 1.<\/code><\/pre>\n<figure class=\"\"><figcaption>\u0421\u0442\u043e\u0438\u0442 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u0441 \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u043a\u043e\u0440\u0440\u0435\u043b\u044f\u0446\u0438\u0435\u0439 \u2014 \u0442\u0451\u043c\u043d\u043e-\u043a\u0440\u0430\u0441\u043d\u044b\u0435 \u0438 \u0442\u0451\u043c\u043d\u043e-\u0441\u0438\u043d\u0438\u0435 \u043a\u043b\u0435\u0442\u043a\u0438. \u0411\u043b\u0438\u0437\u043e\u0441\u0442\u044c \u043a \u0435\u0434\u0438\u043d\u0438\u0446\u0435 \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u0441\u0438\u043b\u044c\u043d\u043e \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u043d\u0443\u044e \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u043b\u0438\u043d\u0435\u0439\u043d\u0443\u044e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c, \u0430 \u0431\u043b\u0438\u0437\u043e\u0441\u0442\u044c \u043a -1 \u2014 \u0441\u0438\u043b\u044c\u043d\u043e \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u043d\u0443\u044e \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c<\/figcaption><\/figure>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<h4>3. \u0414\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u0440\u0430\u0441\u0441\u0435\u044f\u043d\u0438\u044f<\/h4>\n<p>\u0414\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u0440\u0430\u0441\u0441\u0435\u044f\u043d\u0438\u044f \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0432\u0437\u0430\u0438\u043c\u043e\u0441\u0432\u044f\u0437\u044c \u043c\u0435\u0436\u0434\u0443 \u0434\u0432\u0443\u043c\u044f \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u043c\u0438 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0430\u043c\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0442\u043e\u0447\u0435\u043a, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0445 \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435 \u044d\u0442\u0438\u0445 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0432\u043c\u0435\u0441\u0442\u0435.<\/p>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.scatterplot.html#seaborn.scatterplot\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<pre><code class=\"python\"># \u0424\u0443\u043d\u043a\u0446\u0438\u0438: sns.scatterplot() # \u043e\u0441\u0438. sns.relplot(kind='line')  # \u0434\u0438\u0430\u0440\u0433\u0430\u043c\u043c\u0430. # \u0424\u0443\u043d\u043a\u0446\u0438\u0438 \u0441 \u043b\u0438\u043d\u0438\u0435\u0439 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0438: sns.regplot() # \u043e\u0441\u0438. sns.lmplot() # \u0434\u0438\u0430\u0440\u0433\u0430\u043c\u043c\u0430.<\/code><\/pre>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"python\"># \u041f\u043e\u043a\u0430\u0436\u0435\u043c \u043e\u0431\u044a\u0451\u043c \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044f \u0438 \u043f\u0440\u043e\u0431\u0435\u0433 \u0430\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e sns.scatterplot(x='num_col1', y='num_col2', data=df) sns.set(font_scale=1.3) sns.scatterplot(     x='engine_cc',      y='mileage_kmpl',      data=cars) plt.xlabel(     'Engine size in CC') plt.ylabel(     'Fuel efficiency') <\/code><\/pre>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.regplot.html#seaborn.regplot\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<p>\u0424\u0443\u043d\u043a\u0446\u0438\u044f regplot \u0440\u0438\u0441\u0443\u0435\u0442 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0443 \u0440\u0430\u0441\u0441\u0435\u044f\u043d\u0438\u044f \u0441 <a href=\"https:\/\/www.dummies.com\/article\/academics-the-arts\/math\/statistics\/how-to-calculate-a-regression-line-169795\/\">\u043b\u0438\u043d\u0438\u0435\u0439 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0438<\/a>, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0435\u0439 \u0442\u0435\u043d\u0434\u0435\u043d\u0446\u0438\u044e \u0432 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<p>\u041a\u043e\u0434:<\/p>\n<pre><code class=\"python\">sns.regplot(     x='engine_cc',      y='mileage_kmpl',      data=cars) plt.xlabel(     'Engine size in CC') plt.ylabel(     'Fuel efficiency') <\/code><\/pre>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.scatterplot.html#seaborn.scatterplot\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<p>\u041a\u043e\u0434:<\/p>\n<pre><code class=\"python\">sns.scatterplot(     x='mileage_kmpl',     y='engine_cc',      data=cars,     palette='bright',     hue='fuel'); # \u043f\u043e\u0434\u0441\u0432\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u0443\u044e \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044e \u0434\u0440\u0443\u0433\u0438\u043c \u0446\u0432\u0435\u0442\u043e\u043c<\/code><\/pre>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.relplot.html#seaborn.relplot\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<p>\u0414\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0439 relplot \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u0440\u0430\u0441\u0441\u0435\u044f\u043d\u0438\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e kind=&#8217;scatter&#8217; (\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e), \u0438\u043b\u0438 \u043b\u0438\u043d\u0435\u0439\u043d\u043e\u0439 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b (kind=&#8217;line&#8217;). \u0414\u043b\u044f \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043f\u043e \u0446\u0432\u0435\u0442\u0443 \u0432 kind=&#8217;scatter&#8217; \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f hue=&#8217;cat_col&#8217;.<\/p>\n<p>\u041a\u043e\u0434 \u043f\u0440\u0438\u043c\u0435\u0440\u0430:<\/p>\n<pre><code class=\"python\">sns.relplot(     x='mileage_kmpl',      y='engine_cc',      data=cars,      palette='bright',     kind='scatter',      hue='fuel');<\/code><\/pre>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u0434\u0432\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u0432\u044b\u0448\u0435 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b.<\/p>\n<pre><code class=\"python\">sns.relplot(x, y, data, kind='scatter', col='cat_col') # \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u043e\u0434\u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043e\u0432 \u043f\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u0430\u043c, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f col='cat_col' \u0438\/\u0438\u043b\u0438 \u043f\u043e \u0441\u0442\u0440\u043e\u043a\u0430\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e row='cat_col'\u044b\u043a\u0438.<\/code><\/pre>\n<p>\u0414\u0440\u0443\u0433\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"python\">sns.relplot(     x='year',      y='selling_price',      data=cars,      kind='scatter',      col='transmission'); # \u0434\u0430\u043d\u043d\u044b\u0435 \u0440\u0430\u0437\u0431\u0438\u0442\u044b \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u043f\u043e \u0442\u0438\u043f\u0443 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0430\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u044f <\/code><\/pre>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.relplot.html#seaborn.relplot\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<pre><code class=\"python\">sns.relplot(x,y,data, hue='cat_col1', col='cat_col2') #<\/code><\/pre>\n<p>\u041a\u043e\u0434 \u043f\u0440\u0438\u043c\u0435\u0440\u0430:<\/p>\n<pre><code class=\"python\">sns.relplot(     x='year',      y='selling_price',      data=cars,     palette='bright',     height=3, aspect=1.3,     kind='scatter',      hue='transmission',     col='fuel',     col_wrap=2); # \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432 \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0439 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438<\/code><\/pre>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.lmplot.html#seaborn.lmplot\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438. lmplot \u2014 <a href=\"https:\/\/seaborn.pydata.org\/tutorial\/regression.html#conditioning-on-other-variables\">\u0440\u0430\u0437\u043d\u043e\u0432\u0438\u0434\u043d\u043e\u0441\u0442\u044c<\/a> regplot \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b: \u043e\u043d\u0430 \u0440\u0438\u0441\u0443\u0435\u0442 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0443 \u0440\u0430\u0441\u0441\u0435\u044f\u043d\u0438\u044f \u0441 \u043b\u0438\u043d\u0438\u0435\u0439 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0438 \u043d\u0430 FacetGrid. \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 kind \u0443 implot \u043d\u0435\u0442.<\/p>\n<p>\u041a\u043e\u0434 \u043f\u0440\u0438\u043c\u0435\u0440\u0430:<\/p>\n<pre><code class=\"python\">sns.lmplot(     x=\"seats\",      y=\"engine_cc\",      data=cars,     palette='bright',     col=\"transmission\",      hue=\"fuel\");<\/code><\/pre>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<hr\/>\n<h4>4. \u041b\u0438\u043d\u0435\u0439\u043d\u044b\u0439 \u0433\u0440\u0430\u0444\u0438\u043a<\/h4>\n<p>\u041b\u0438\u043d\u0435\u0439\u043d\u044b\u0439 \u0433\u0440\u0430\u0444\u0438\u043a \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0442\u043e\u0447\u0435\u043a, \u0441\u043e\u0435\u0434\u0438\u043d\u0451\u043d\u043d\u044b\u0445 \u043b\u0438\u043d\u0438\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0441\u0432\u044f\u0437\u044c \u043c\u0435\u0436\u0434\u0443 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c\u0438 x \u0438 y. \u041e\u0441\u044c x \u043e\u0431\u044b\u0447\u043d\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u044b, \u043e\u0441\u044c y \u2014 \u0447\u0438\u0441\u043b\u043e\u0432\u0443\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e, \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0432\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u0441\u043b\u0435\u0434\u0438\u0442\u044c.<\/p>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.lineplot.html#seaborn.lineplot\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<pre><code class=\"python\"># \u0424\u0443\u043d\u043a\u0446\u0438\u0438: sns.lineplot() # \u043e\u0441\u0438. sns.relplot(kind='line') # \u0434\u0438\u0430\u0440\u0433\u0430\u043c\u043c\u0430.<\/code><\/pre>\n<p>\u041a\u043e\u0434 \u043f\u0440\u0438\u043c\u0435\u0440\u0430:<\/p>\n<pre><code class=\"python\">sns.lineplot(     x=\"year\",      y=\"selling_price\",     data=cars)<\/code><\/pre>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0414\u0440\u0443\u0433\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"python\">sns.lineplot(     x=\"year\",      y=\"selling_price\",     data=cars,     palette='bright',     hue='fuel');<\/code><\/pre>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0415\u0449\u0451 \u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"python\">sns.relplot(     x=\"year\",      y=\"selling_price\",     data=cars,     color='blue', height=4     kind='line', # \u0441\u0442\u0440\u043e\u0438\u0442 \u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0439 \u0433\u0440\u0430\u0444\u0438\u043a     col='transmission'); # \u0440\u0438\u0441\u0443\u0435\u0442 \u0433\u0440\u0430\u0444\u0438\u043a \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0439 \u0434\u0432\u0443\u0445 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 'transmission'. <\/code><\/pre>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<pre><code class=\"python\"># \u041f\u043e\u0434\u043e\u0431\u043d\u044b\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f kind='line' \u0438 hue: sns.relplot(     x=\"year\",      y=\"selling_price\",      data=cars,     palette='bright',      height=4,     kind='line',      col='transmission',     hue=\"fuel\");<\/code><\/pre>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<hr\/>\n<h4>5. \u0421\u0432\u043e\u0434\u043d\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430<\/h4>\n<p>\u0421\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 <a href=\"https:\/\/ajaytech.co\/2020\/09\/28\/8780\/\">\u0442\u0440\u0451\u0445 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c <\/a>\u0432 \u043e\u0434\u043d\u043e\u0439. \u0426\u0435\u043d\u0442\u0440 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0431\u0438\u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043d\u0443\u044e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c \u043c\u0435\u0436\u0434\u0443 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c\u0438 x \u0438 y. \u041d\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430\u0445 \u0441\u0432\u0435\u0440\u0445\u0443 \u0438 \u0441\u043f\u0440\u0430\u0432\u0430 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043e\u0434\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0435 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u043f\u043e \u043e\u0441\u044f\u043c x \u0438 \u0443 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e.<\/p>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.jointplot.html\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<pre><code class=\"python\"># \u0424\u0443\u043d\u043a\u0446\u0438\u0438: sns.jointplot()  # \u0434\u0438\u0430\u0440\u0433\u0430\u043c\u043c\u0430. sns.jointplot(x='num_col1, y='num_col2, data=df)  # \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u2014 \u044d\u0442\u043e \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u0440\u0430\u0441\u0441\u0435\u044f\u043d\u0438\u044f (kind='scatter')  # \u0411\u043e\u043a\u043e\u0432\u044b\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u2014 \u044d\u0442\u043e \u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b.<\/code><\/pre>\n<p>\u041a\u043e\u0434 \u043f\u0440\u0438\u043c\u0435\u0440\u0430:<\/p>\n<pre><code class=\"python\">sns.jointplot(     x='max_power_bhp',      y='selling_price',      data=cars); <\/code><\/pre>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0415\u0449\u0451 \u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"python\">sns.jointplot(     x='selling_price',      y='max_power_bhp',      data=cars,       palette='bright',     hue='transmission');<\/code><\/pre>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<h4>\u0418\u0437\u0443\u0447\u0435\u043d\u0438\u0435 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0439 \u043c\u0435\u0436\u0434\u0443 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0438 \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438<\/h4>\n<p>\u041d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430\u0445 \u043e\u0441\u044c x \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0430\u043b\u044c\u043d\u0443\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e, \u0430 \u043e\u0441\u044c Y \u2014 \u0447\u0438\u0441\u043b\u043e\u0432\u0443\u044e.<\/p>\n<hr\/>\n<h4>6. \u0413\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u0430<\/h4>\n<p>\u0413\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0441\u0442\u043e\u043b\u0431\u0446\u044b \u0440\u0430\u0437\u043d\u043e\u0439 \u0432\u044b\u0441\u043e\u0442\u044b \u0434\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0447\u0438\u0441\u043b\u043e\u0432\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u043c\u0435\u0436\u0434\u0443 \u0433\u0440\u0443\u043f\u043f\u0430\u043c\u0438 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u044b\u0441\u043e\u0442\u0430 \u0441\u0442\u043e\u043b\u0431\u0446\u0430 \u043e\u0446\u0435\u043d\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u00ab\u0441\u0440\u0435\u0434\u043d\u0435\u0433\u043e\u00bb: \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 estimator \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442 \u044d\u0442\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"https:\/\/github.com\/jmbejara\/comp-econ-sp18\/issues\/24\">\u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445<\/a> \u0444\u0443\u043d\u043a\u0446\u0438\u0439 Python, \u0442\u0430\u043a\u0438\u0445 \u043a\u0430\u043a estimator=max \u0438\u043b\u0438 len, \u0438\u043b\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 <a href=\"https:\/\/www.pythonprogramming.in\/numpy-aggregate-and-statistical-functions.html\">NumPy<\/a> \u043d\u0430\u043f\u043e\u0434\u043e\u0431\u0438\u0435 np.max \u0438 np.median.<\/p>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.barplot.html#seaborn.barplot\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<pre><code class=\"python\"># \u0424\u0443\u043d\u043a\u0446\u0438\u0438: sns.barplot() # \u043e\u0441\u0438. sns.catplot(kind='bar') # \u0434\u0438\u0430\u0440\u0433\u0430\u043c\u043c\u0430. <\/code><\/pre>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"python\">sns.barplot(     x='fuel',      y='selling_price',      data=cars,      color='blue',     # estimator=sum,     # estimator=np.median);<\/code><\/pre>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0415\u0449\u0451 \u043e\u0434\u0438\u043d \u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"python\">sns.barplot(     x='fuel',      y='selling_price',      data=cars,      palette='bright'     hue='transmission');<\/code><\/pre>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p><a href=\"https:\/\/seaborn.pydata.org\/generated\/seaborn.catplot.html#seaborn.catplot\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<pre><code class=\"python\">sns.catplot(x, y, data, kind='bar', hue='cat_col')<\/code><\/pre>\n<p>\u0422\u0438\u043f \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c kind, \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043e\u043d \u0440\u0430\u0432\u0435\u043d &#8216;strip&#8217;. \u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u044b \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f <code>'swarm', 'box', 'violin', 'boxen', 'point' \u0438 'bar'<\/code>. \u0412\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f catplot \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b, \u043f\u043e\u0445\u043e\u0436\u0435\u0439 \u043d\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0443\u044e.<\/p>\n<p>\u041a\u043e\u0434 \u043f\u0440\u0438\u043c\u0435\u0440\u0430:<\/p>\n<pre><code class=\"python\">sns.catplot(     x='fuel',      y='selling_price',      data=cars,     palette='bright',     kind='bar',     hue='transmission'); <\/code><\/pre>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0447\u0435\u0440\u0435\u0437 catplot:<\/p>\n<pre><code class=\"python\">g = sns.catplot(         x='fuel',          y='selling_price',          data=cars,         palette='bright',         height=3, aspect=1.3,         kind='bar',         hue='transmission',          col ='seller_type',         col_wrap=2) # \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432 \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0439, \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u043c\u044b\u0445 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 g.set_titles(     'Seller: {col_name}');<\/code><\/pre>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<h4>7. \u0422\u043e\u0447\u0435\u0447\u043d\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430<\/h4>\n<p>\u0412\u043c\u0435\u0441\u0442\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432 \u0442\u043e\u0447\u0435\u0447\u043d\u0430\u044f<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\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-333383","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/333383","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=333383"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/333383\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=333383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=333383"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=333383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}