{"id":3405,"date":"2021-07-23T12:29:50","date_gmt":"2021-07-23T12:29:50","guid":{"rendered":"https:\/\/www.bearloga.space\/?page_id=3405"},"modified":"2021-07-23T12:29:50","modified_gmt":"2021-07-23T12:29:50","slug":"python-pandas-vizualizacziya","status":"publish","type":"page","link":"https:\/\/www.bearloga.space\/uk\/python-pandas-vizualizacziya\/","title":{"rendered":"Python Pandas \u2014 \u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u042d\u0442\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0432 Series \u0438 DataFrame \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u043f\u0440\u043e\u0441\u0442\u0443\u044e \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0443 \u0434\u043b\u044f&nbsp;<strong>\u043c\u0435\u0442\u043e\u0434\u0430<\/strong>&nbsp;<strong>plot () \u0438\u0437 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a<\/strong>&nbsp;<strong>matplotlib<\/strong>&nbsp;.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">import pandas as pd\nimport numpy as np\n\ndf = pd.DataFrame(np.random.randn(10,4),index=pd.date_range('1\/1\/2000',\n   periods=10), columns=list('ABCD'))\n\ndf.plot()<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0415\u0433\u043e&nbsp;<strong>\u0432\u044b\u0432\u043e\u0434<\/strong>&nbsp;\u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u2014<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/coderlessons.com\/wp-content\/uploads\/2019\/07\/basic_plotting-2.jpg\" alt=\"\u041e\u0441\u043d\u043e\u0432\u044b \u043f\u0435\u0447\u0430\u0442\u0438\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0415\u0441\u043b\u0438 \u0438\u043d\u0434\u0435\u043a\u0441 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0434\u0430\u0442, \u043e\u043d \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442&nbsp;<strong>gct (). Autofmt_xdate ()<\/strong>&nbsp;\u0434\u043b\u044f \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0441\u0438 X, \u043a\u0430\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0430 \u0438\u043b\u043b\u044e\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0432\u044b\u0448\u0435.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u041c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043e\u0434\u0438\u043d \u0441\u0442\u043e\u043b\u0431\u0435\u0446 \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u0434\u0440\u0443\u0433\u0438\u043c, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u0441\u043b\u043e\u0432\u0430&nbsp;<strong>x<\/strong>&nbsp;\u0438&nbsp;<strong>y<\/strong>&nbsp;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u041c\u0435\u0442\u043e\u0434\u044b \u043f\u0435\u0447\u0430\u0442\u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0438\u043b\u0435\u0439 \u043f\u0435\u0447\u0430\u0442\u0438, \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0445 \u043e\u0442 \u043b\u0438\u043d\u0435\u0439\u043d\u043e\u0433\u043e \u0433\u0440\u0430\u0444\u0438\u043a\u0430 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e.&nbsp;\u042d\u0442\u0438 \u043c\u0435\u0442\u043e\u0434\u044b \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430 \u0442\u0438\u043f\u0430 \u00ab\u043a\u043b\u044e\u0447\u0435\u0432\u043e\u0435 \u0441\u043b\u043e\u0432\u043e\u00bb \u0434\u043b\u044f&nbsp;<strong>plot ()<\/strong>&nbsp;.&nbsp;\u041a \u043d\u0438\u043c \u043e\u0442\u043d\u043e\u0441\u044f\u0442\u0441\u044f \u2014<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u0431\u0430\u0440 \u0438\u043b\u0438 \u0431\u0430\u0440 \u0434\u043b\u044f \u0431\u0430\u0440\u043e\u0432<\/li><li>\u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0434\u043b\u044f \u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b<\/li><li>\u043a\u043e\u0440\u043e\u0431\u043a\u0430 \u0434\u043b\u044f \u0431\u043e\u043a\u0441\u0430<\/li><li>\u00ab\u043f\u043b\u043e\u0449\u0430\u0434\u044c\u00bb \u0434\u043b\u044f \u0443\u0447\u0430\u0441\u0442\u043a\u043e\u0432<\/li><li>\u00ab\u0440\u0430\u0437\u0431\u0440\u043e\u0441\u00bb \u0434\u043b\u044f \u0442\u043e\u0447\u0435\u0447\u043d\u044b\u0445 \u0433\u0440\u0430\u0444\u0438\u043a\u043e\u0432<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u0411\u0430\u0440 \u0423\u0447\u0430\u0441\u0442\u043e\u043a<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u00ab\u0411\u0430\u0440\u043d\u044b\u0439 \u0443\u0447\u0430\u0441\u0442\u043e\u043a\u00bb, \u0441\u043e\u0437\u0434\u0430\u0432 \u0435\u0433\u043e.&nbsp;\u0413\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0441\u043e\u0437\u0434\u0430\u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u2014<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">import pandas as pd\nimport numpy as np\n\ndf = pd.DataFrame(np.random.rand(10,4),columns=['a','b','c','d')\ndf.plot.bar()<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0415\u0433\u043e&nbsp;<strong>\u0432\u044b\u0432\u043e\u0434<\/strong>&nbsp;\u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u2014<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/coderlessons.com\/wp-content\/uploads\/2019\/07\/bar_plot.jpg\" alt=\"\u0411\u0430\u0440 \u0423\u0447\u0430\u0441\u0442\u043e\u043a\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0427\u0442\u043e\u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0441 \u043d\u0430\u043a\u043e\u043f\u043b\u0435\u043d\u0438\u0435\u043c,&nbsp;<strong>\u043f\u0435\u0440\u0435\u0434\u0430\u0439\u0442\u0435 stacked = True<\/strong>&nbsp;\u2014<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">import pandas as pd\ndf = pd.DataFrame(np.random.rand(10,4),columns=['a','b','c','d')\ndf.plot.bar(stacked=True)<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0415\u0433\u043e&nbsp;<strong>\u0432\u044b\u0432\u043e\u0434<\/strong>&nbsp;\u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u2014<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/coderlessons.com\/wp-content\/uploads\/2019\/07\/stacked_bar_plot.jpg\" alt=\"Stacked Bar Plot\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0442\u043e\u043b\u0431\u0446\u044b, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043c\u0435\u0442\u043e\u0434&nbsp;<strong>\u0411\u0430\u0440\u0445<\/strong>&nbsp;\u2014<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">import pandas as pd\nimport numpy as np\n\ndf = pd.DataFrame(np.random.rand(10,4),columns=['a','b','c','d')\n\ndf.plot.barh(stacked=True)<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0415\u0433\u043e\u00a0<strong>\u0432\u044b\u0432\u043e\u0434<\/strong>\u00a0\u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u2014<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/coderlessons.com\/wp-content\/uploads\/2019\/07\/horizontal_bar_plot.jpg\" alt=\"\u0413\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u043e\u043b\u043e\u0441\u0430\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u0413\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0413\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u044b \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c&nbsp;<strong>\u043c\u0435\u0442\u043e\u0434\u0430 plot.hist ()<\/strong>&nbsp;.&nbsp;\u041c\u044b \u043c\u043e\u0436\u0435\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0431\u0438\u043d\u043e\u0432.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">import pandas as pd\nimport numpy as np\n\ndf = pd.DataFrame({'a':np.random.randn(1000)+1,'b':np.random.randn(1000),'c':\nnp.random.randn(1000) - 1}, columns=['a', 'b', 'c'])\n\ndf.plot.hist(bins=20)<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0415\u0433\u043e&nbsp;<strong>\u0432\u044b\u0432\u043e\u0434<\/strong>&nbsp;\u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u2014<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/coderlessons.com\/wp-content\/uploads\/2019\/07\/histograms_using_plot_hist.jpg\" alt=\"\u0413\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c plot.hist ()\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0427\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434 \u2014<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">import pandas as pd\nimport numpy as np\n\ndf=pd.DataFrame({'a':np.random.randn(1000)+1,'b':np.random.randn(1000),'c':\nnp.random.randn(1000) - 1}, columns=['a', 'b', 'c'])\n\ndf.diff.hist(bins=20)<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0415\u0433\u043e&nbsp;<strong>\u0432\u044b\u0432\u043e\u0434<\/strong>&nbsp;\u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u2014<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/coderlessons.com\/wp-content\/uploads\/2019\/07\/histograms_for_column.jpg\" alt=\"\u0413\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0434\u043b\u044f \u0441\u0442\u043e\u043b\u0431\u0446\u0430\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u041a\u043e\u0440\u043e\u0431\u043e\u0447\u043d\u044b\u0435 \u0443\u0447\u0430\u0441\u0442\u043a\u0438<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Boxplot \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c, \u0432\u044b\u0437\u0432\u0430\u0432&nbsp;<strong>Series.box.plot ()<\/strong>&nbsp;\u0438&nbsp;<strong>DataFrame.box.plot ()<\/strong>&nbsp;\u0438\u043b\u0438&nbsp;<strong>DataFrame.boxplot ()<\/strong>&nbsp;\u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u0441\u0442\u043e\u043b\u0431\u0446\u0435.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u043e\u0442 \u0431\u043b\u043e\u043a-\u0433\u0440\u0430\u0444\u0438\u043a, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 \u043f\u044f\u0442\u044c \u0438\u0441\u043f\u044b\u0442\u0430\u043d\u0438\u0439 \u0438\u0437 10 \u043d\u0430\u0431\u043b\u044e\u0434\u0435\u043d\u0438\u0439 \u0440\u0430\u0432\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0439 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e\u0439 \u0432\u0435\u043b\u0438\u0447\u0438\u043d\u044b \u043d\u0430 [0,1).<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">import pandas as pd\nimport numpy as np\ndf = pd.DataFrame(np.random.rand(10, 5), columns=['A', 'B', 'C', 'D', 'E'])\ndf.plot.box()<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0415\u0433\u043e&nbsp;<strong>\u0432\u044b\u0432\u043e\u0434<\/strong>&nbsp;\u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u2014<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/coderlessons.com\/wp-content\/uploads\/2019\/07\/box_plot-2.jpg\" alt=\"\u041a\u043e\u0440\u043e\u0431\u043e\u0447\u043d\u044b\u0435 \u0443\u0447\u0430\u0441\u0442\u043a\u0438\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u041f\u043b\u043e\u0449\u0430\u0434\u044c \u0443\u0447\u0430\u0441\u0442\u043a\u0430<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0413\u0440\u0430\u0444\u0438\u043a \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0441\u043e\u0437\u0434\u0430\u043d \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c&nbsp;<strong>\u043c\u0435\u0442\u043e\u0434\u043e\u0432 Series.plot.area ()<\/strong>&nbsp;\u0438\u043b\u0438&nbsp;<strong>DataFrame.plot.area ()<\/strong>&nbsp;.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">import pandas as pd\nimport numpy as np\n\ndf = pd.DataFrame(np.random.rand(10, 4), columns=['a', 'b', 'c', 'd'])\ndf.plot.area()<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0415\u0433\u043e&nbsp;<strong>\u0432\u044b\u0432\u043e\u0434<\/strong>&nbsp;\u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u2014<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/coderlessons.com\/wp-content\/uploads\/2019\/07\/area_plot.jpg\" alt=\"\u041f\u043b\u043e\u0449\u0430\u0434\u044c \u0443\u0447\u0430\u0441\u0442\u043a\u0430\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Scatter Plot<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0422\u043e\u0447\u0435\u0447\u043d\u044b\u0439 \u0433\u0440\u0430\u0444\u0438\u043a \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0441\u043e\u0437\u0434\u0430\u043d \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043c\u0435\u0442\u043e\u0434\u043e\u0432&nbsp;<strong>DataFrame.plot.scatter ()<\/strong>&nbsp;.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">import pandas as pd\nimport numpy as np\ndf = pd.DataFrame(np.random.rand(50, 4), columns=['a', 'b', 'c', 'd'])\ndf.plot.scatter(x='a', y='b')<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0415\u0433\u043e&nbsp;<strong>\u0432\u044b\u0432\u043e\u0434<\/strong>&nbsp;\u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u2014<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/coderlessons.com\/wp-content\/uploads\/2019\/07\/scatter_plot.jpg\" alt=\"Scatter Plot\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u041a\u0440\u0443\u0433\u043e\u0432\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u041a\u0440\u0443\u0433\u043e\u0432\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0441\u043e\u0437\u0434\u0430\u043d\u0430 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c&nbsp;<strong>\u043c\u0435\u0442\u043e\u0434\u0430 DataFrame.plot.pie ()<\/strong>&nbsp;.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">import pandas as pd\nimport numpy as np\n\ndf = pd.DataFrame(3 * np.random.rand(4), index=['a', 'b', 'c', 'd'], columns=['x'])\ndf.plot.pie(subplots=True)<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u042d\u0442\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0432 Series \u0438 DataFrame \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u043f\u0440\u043e\u0441\u0442\u0443\u044e \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0443 \u0434\u043b\u044f&nbsp;\u043c\u0435\u0442\u043e\u0434\u0430&nbsp;plot () \u0438\u0437 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a&nbsp;matplotlib&nbsp;. import pandas as pd import numpy [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[109],"tags":[],"class_list":["post-3405","page","type-page","status-publish","hentry","category-python-pandas"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/pages\/3405","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/comments?post=3405"}],"version-history":[{"count":0,"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/pages\/3405\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/media?parent=3405"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/categories?post=3405"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bearloga.space\/uk\/wp-json\/wp\/v2\/tags?post=3405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}