{"id":4304,"date":"2023-07-12T03:18:22","date_gmt":"2023-07-12T03:18:22","guid":{"rendered":"https:\/\/statorials.org\/uk\/pandas-cross-table-aggfunc\/"},"modified":"2023-07-12T03:18:22","modified_gmt":"2023-07-12T03:18:22","slug":"pandas-cross-table-aggfunc","status":"publish","type":"post","link":"https:\/\/statorials.org\/uk\/pandas-cross-table-aggfunc\/","title":{"rendered":"Pandas: \u044f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 aggfunc \u0443 \u0444\u0443\u043d\u043a\u0446\u0456\u0457 crosstab()."},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">\u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 <b>aggfunc<\/b> \u0443 \u0444\u0443\u043d\u043a\u0446\u0456\u0457 pandas <strong>crosstab()<\/strong> , \u0449\u043e\u0431 \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u043f\u0435\u0440\u0435\u0445\u0440\u0435\u0441\u043d\u0443 \u0442\u0430\u0431\u043b\u0438\u0446\u044e, \u044f\u043a\u0430 \u0430\u0433\u0440\u0435\u0433\u0443\u0454 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u043f\u0435\u0432\u043d\u043e\u0457 \u043c\u0435\u0442\u0440\u0438\u043a\u0438:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>p.d. <span style=\"color: #3366ff;\">crosstab<\/span> (index=df. <span style=\"color: #3366ff;\">col1<\/span> , columns=df. <span style=\"color: #3366ff;\">col2<\/span> , values=df. <span style=\"color: #3366ff;\">col3<\/span> , aggfunc=' <span style=\"color: #ff0000;\">count<\/span> ')\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">\u0417\u043d\u0430\u0447\u0435\u043d\u043d\u044f\u043c <strong>aggfunc<\/strong> \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c \u0454 \u00abcount\u00bb, \u0430\u043b\u0435 \u0432\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u043a\u0430\u0437\u0430\u0442\u0438 \u0456\u043d\u0448\u0456 \u043c\u0435\u0442\u043e\u0434\u0438 \u0430\u0433\u0440\u0435\u0433\u0430\u0446\u0456\u0457, \u0442\u0430\u043a\u0456 \u044f\u043a \u0441\u0435\u0440\u0435\u0434\u043d\u0454, \u043c\u0435\u0434\u0456\u0430\u043d\u043d\u0435, \u0441\u0443\u043c\u0430, min, max \u0442\u043e\u0449\u043e.<\/span><\/p>\n<p> <span style=\"color: #000000;\">\u0412\u0438 \u0442\u0430\u043a\u043e\u0436 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u043a\u0430\u0437\u0430\u0442\u0438 \u043a\u0456\u043b\u044c\u043a\u0430 \u043c\u0435\u0442\u043e\u0434\u0456\u0432 \u0430\u0433\u0440\u0435\u0433\u0430\u0446\u0456\u0457 \u0432 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0456 <strong>aggfunc<\/strong> :<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>p.d. <span style=\"color: #3366ff;\">crosstab<\/span> (index=df. <span style=\"color: #3366ff;\">col1<\/span> , columns=df. <span style=\"color: #3366ff;\">col2<\/span> , values=df. <span style=\"color: #3366ff;\">col3<\/span> , aggfunc=[' <span style=\"color: #ff0000;\">min<\/span> ', ' <span style=\"color: #ff0000;\">max<\/span> '])<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">\u041d\u0430\u0441\u0442\u0443\u043f\u043d\u0456 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0438 \u043f\u043e\u043a\u0430\u0437\u0443\u044e\u0442\u044c, \u044f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u043a\u043e\u0436\u0435\u043d \u0456\u0437 \u0446\u0438\u0445 \u043c\u0435\u0442\u043e\u0434\u0456\u0432 \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u0446\u0456 \u0437 \u0442\u0430\u043a\u0438\u043c\u0438 pandas DataFrame:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">import<\/span> pandas <span style=\"color: #008000;\">as<\/span> pd\n\n<span style=\"color: #008080;\">#createDataFrame<\/span>\ndf = pd. <span style=\"color: #3366ff;\">DataFrame<\/span> ({' <span style=\"color: #ff0000;\">team<\/span> ': ['A', 'A', 'A', 'B', 'B', 'B', 'B', 'C', 'C', 'C', 'C '],\n                   ' <span style=\"color: #ff0000;\">position<\/span> ':['G', 'G', 'F', 'G', 'F', 'F', 'F', 'G', 'G', 'F', 'F'],\n                   ' <span style=\"color: #ff0000;\">points<\/span> ': [22, 25, 24, 39, 34, 20, 18, 17, 20, 19, 22]})\n\n<span style=\"color: #008080;\">#view DataFrame\n<\/span><span style=\"color: #008000;\">print<\/span> (df)\n\n   team position points\n0 AG 22\n1 AG 25\n2 AF 24\n3 BG 39\n4 BF 34\n5 BF 20\n6 BF 18\n7 GC 17\n8 GC 20\n9 CF 19\n10 CF 22<\/strong>\n<\/pre>\n<h2> <span style=\"color: #000000;\"><strong>\u041f\u0440\u0438\u043a\u043b\u0430\u0434 1: \u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u043f\u0435\u0440\u0435\u0445\u0440\u0435\u0441\u043d\u043e\u0457 \u0442\u0430\u0431\u043b\u0438\u0446\u0456 \u0437\u0456 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f\u043c \u0443 aggfunc<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">\u041c\u0438 \u043c\u043e\u0436\u0435\u043c\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u0442\u0438 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443 \u0444\u0443\u043d\u043a\u0446\u0456\u044e <strong>crosstab()<\/strong> \u0437 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u043c <strong>aggfunc=&#8217;mean&#8217;<\/strong> , \u0449\u043e\u0431 \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u043f\u0435\u0440\u0435\u0445\u0440\u0435\u0441\u043d\u0443 \u0442\u0430\u0431\u043b\u0438\u0446\u044e, \u044f\u043a\u0430 \u0432\u0456\u0434\u043e\u0431\u0440\u0430\u0436\u0430\u0454 \u0441\u0435\u0440\u0435\u0434\u043d\u0456 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0431\u0430\u043b\u0456\u0432 \u0434\u043b\u044f \u043a\u043e\u0436\u043d\u043e\u0457 \u043f\u043e\u0437\u0438\u0446\u0456\u0457 \u0442\u0430 \u043a\u043e\u043c\u0431\u0456\u043d\u0430\u0446\u0456\u0457 \u043a\u043e\u043c\u0430\u043d\u0434:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\"><span style=\"color: #008080;\">#create crosstab that displays mean points value by team and position\n<\/span><\/span>p.d. <span style=\"color: #3366ff;\">crosstab<\/span> (index=df. <span style=\"color: #3366ff;\">team<\/span> , columns=df. <span style=\"color: #3366ff;\">position<\/span> , values=df. <span style=\"color: #3366ff;\">points<\/span> , aggfunc=' <span style=\"color: #ff0000;\">mean<\/span> ')\n\nposition F G\nteam\t\t\nA 24.0 23.5\nB 24.0 39.0\nC 20.5 18.5\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">\u041e\u0441\u044c \u044f\u043a \u0456\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0443\u0432\u0430\u0442\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\">\u0421\u0435\u0440\u0435\u0434\u043d\u044f \u043a\u0456\u043b\u044c\u043a\u0456\u0441\u0442\u044c \u043e\u0447\u043e\u043a \u0433\u0440\u0430\u0432\u0446\u0456\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0438 \u0410 \u043d\u0430 \u043f\u043e\u0437\u0438\u0446\u0456\u0457 F \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <strong>24<\/strong> .<\/span><\/li>\n<li> <span style=\"color: #000000;\">\u0421\u0435\u0440\u0435\u0434\u043d\u0456\u0439 \u0431\u0430\u043b \u0433\u0440\u0430\u0432\u0446\u0456\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0438 \u0410 \u043d\u0430 \u043f\u043e\u0437\u0438\u0446\u0456\u0457 G \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <strong>23,5<\/strong> .<\/span><\/li>\n<\/ul>\n<p> <span style=\"color: #000000;\">\u0406 \u0442\u0430\u043a \u0434\u0430\u043b\u0456.<\/span><\/p>\n<p> <span style=\"color: #000000;\">\u041c\u0438 \u0442\u0430\u043a\u043e\u0436 \u043c\u043e\u0436\u0435\u043c\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0456\u043d\u0448\u0438\u0439 \u043f\u043e\u043a\u0430\u0437\u043d\u0438\u043a \u0430\u0433\u0440\u0435\u0433\u0430\u0446\u0456\u0457, \u043d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\"><span style=\"color: #008080;\">#create crosstab that displays max points value by team and position\n<\/span><\/span>p.d. <span style=\"color: #3366ff;\">crosstab<\/span> (index=df. <span style=\"color: #3366ff;\">team<\/span> , columns=df. <span style=\"color: #3366ff;\">position<\/span> , values=df. <span style=\"color: #3366ff;\">points<\/span> , aggfunc=' <span style=\"color: #ff0000;\">max<\/span> ')\n\n\nposition F G\nteam\t\t\nAt 24 25\nB 34 39\nC 22 20\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">\u041e\u0441\u044c \u044f\u043a \u0456\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0443\u0432\u0430\u0442\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\">\u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0430 \u043a\u0456\u043b\u044c\u043a\u0456\u0441\u0442\u044c \u043e\u0447\u043e\u043a \u0434\u043b\u044f \u0433\u0440\u0430\u0432\u0446\u0456\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0438 \u0410 \u043d\u0430 \u043f\u043e\u0437\u0438\u0446\u0456\u0457 F \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <strong>24 \u043e\u0447\u043a\u0438<\/strong> .<\/span><\/li>\n<li> <span style=\"color: #000000;\">\u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0430 \u043a\u0456\u043b\u044c\u043a\u0456\u0441\u0442\u044c \u043e\u0447\u043e\u043a \u0434\u043b\u044f \u0433\u0440\u0430\u0432\u0446\u0456\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0438 A \u043d\u0430 \u043f\u043e\u0437\u0438\u0446\u0456\u0457 G \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <strong>25<\/strong> .<\/span><\/li>\n<\/ul>\n<p> <span style=\"color: #000000;\">\u0406 \u0442\u0430\u043a \u0434\u0430\u043b\u0456.<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>\u041f\u0440\u0438\u043a\u043b\u0430\u0434 2:<\/strong><\/span> <span style=\"color: #000000;\"><strong>\u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u043f\u0435\u0440\u0435\u0445\u0440\u0435\u0441\u043d\u043e\u0457 \u0442\u0430\u0431\u043b\u0438\u0446\u0456 \u0437 \u043a\u0456\u043b\u044c\u043a\u043e\u043c\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f\u043c\u0438 \u0432 aggfunc<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">\u041c\u0438 \u043c\u043e\u0436\u0435\u043c\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0456\u044e <strong>crosstab()<\/strong> \u0456\u0437 \u0434\u0435\u043a\u0456\u043b\u044c\u043a\u043e\u043c\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f\u043c\u0438 \u0432 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0456 <strong>aggfunc<\/strong> , \u0449\u043e\u0431 \u0430\u0433\u0440\u0435\u0433\u0443\u0432\u0430\u0442\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0431\u0430\u043b\u0456\u0432 \u0437\u0430 \u0434\u0435\u043a\u0456\u043b\u044c\u043a\u043e\u043c\u0430 \u043f\u043e\u043a\u0430\u0437\u043d\u0438\u043a\u0430\u043c\u0438 \u0434\u043b\u044f \u043a\u043e\u0436\u043d\u043e\u0457 \u043f\u043e\u0437\u0438\u0446\u0456\u0457 \u0442\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0457 \u043a\u043e\u043c\u0431\u0456\u043d\u0430\u0446\u0456\u0457:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\"><span style=\"color: #008080;\">#create crosstab that displays min and max points by team and position\n<\/span><\/span>p.d. <span style=\"color: #3366ff;\">crosstab<\/span> (df. <span style=\"color: #3366ff;\">team<\/span> , df. <span style=\"color: #3366ff;\">position<\/span> , df. <span style=\"color: #3366ff;\">points<\/span> , aggfunc=[' <span style=\"color: #ff0000;\">min<\/span> ', ' <span style=\"color: #ff0000;\">max<\/span> ']) \n\n\t              min max\nposition F G F G\nteam\t\t\t\t\nA 24 22 24 25\nB 18 39 34 39\nC 19 17 22 20\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">\u041e\u0441\u044c \u044f\u043a \u0456\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0443\u0432\u0430\u0442\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\">\u041c\u0456\u043d\u0456\u043c\u0430\u043b\u044c\u043d\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u043e\u0447\u043e\u043a \u0434\u043b\u044f \u0433\u0440\u0430\u0432\u0446\u0456\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0438 \u0410 \u043d\u0430 \u043f\u043e\u0437\u0438\u0446\u0456\u0457 F \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <strong>24<\/strong> .<\/span><\/li>\n<li> <span style=\"color: #000000;\">\u041c\u0456\u043d\u0456\u043c\u0430\u043b\u044c\u043d\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0431\u0430\u043b\u0456\u0432 \u0434\u043b\u044f \u0433\u0440\u0430\u0432\u0446\u0456\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0438 \u0410 \u043d\u0430 \u043f\u043e\u0437\u0438\u0446\u0456\u0457 G \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <strong>22<\/strong> .<\/span><\/li>\n<li> <span style=\"color: #000000;\">\u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0431\u0430\u043b\u0456\u0432 \u0434\u043b\u044f \u0433\u0440\u0430\u0432\u0446\u0456\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0438 \u0410 \u043d\u0430 \u043f\u043e\u0437\u0438\u0446\u0456\u0457 F \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <strong>24<\/strong> .<\/span><\/li>\n<li> <span style=\"color: #000000;\">\u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u043e\u0447\u043e\u043a \u0434\u043b\u044f \u0433\u0440\u0430\u0432\u0446\u0456\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0438 \u0410 \u043d\u0430 \u043f\u043e\u0437\u0438\u0446\u0456\u0457 G \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <strong>25<\/strong> .<\/span><\/li>\n<\/ul>\n<p> <span style=\"color: #000000;\">\u0406 \u0442\u0430\u043a \u0434\u0430\u043b\u0456.<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>\u041f\u0440\u0438\u043c\u0456\u0442\u043a\u0430<\/strong> . \u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0437\u043d\u0430\u0439\u0442\u0438 \u043f\u043e\u0432\u043d\u0443 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0456\u044e \u0444\u0443\u043d\u043a\u0446\u0456\u0457 pandas <strong>crosstab()<\/strong> <a href=\"https:\/\/pandas.pydata.org\/pandas-docs\/stable\/reference\/api\/pandas.crosstab.html\" target=\"_blank\" rel=\"noopener\">\u0442\u0443\u0442<\/a> .<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>\u0414\u043e\u0434\u0430\u0442\u043a\u043e\u0432\u0456 \u0440\u0435\u0441\u0443\u0440\u0441\u0438<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">\u0423 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u0445 \u043f\u043e\u0441\u0456\u0431\u043d\u0438\u043a\u0430\u0445 \u043f\u043e\u044f\u0441\u043d\u044e\u0454\u0442\u044c\u0441\u044f, \u044f\u043a \u0432\u0438\u043a\u043e\u043d\u0443\u0432\u0430\u0442\u0438 \u0456\u043d\u0448\u0456 \u0442\u0438\u043f\u043e\u0432\u0456 \u0437\u0430\u0432\u0434\u0430\u043d\u043d\u044f \u043f\u0430\u043d\u0434\u0438:<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/uk\/\u0432\u0456\u0434\u0441\u043e\u0442\u043e\u043a-\u043f\u0435\u0440\u0435\u0445\u0440\u0435\u0441\u043d\u043e\u0456-\u0442\u0430\u0431\u043b\u0438\u0446\u0456-\u043f\u0430\u043d\u0434\/\" target=\"_blank\" rel=\"noopener\">Pandas: \u042f\u043a \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u043f\u0435\u0440\u0435\u0445\u0440\u0435\u0441\u043d\u0443 \u0442\u0430\u0431\u043b\u0438\u0446\u044e \u0437 \u0432\u0456\u0434\u0441\u043e\u0442\u043a\u0430\u043c\u0438<\/a><br \/> <a href=\"https:\/\/statorials.org\/uk\/pandas-\u0433\u0440\u0443\u043f\u0443\u0432\u0430\u0442\u0438-\u0437\u0430-\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f\u043c\/\" target=\"_blank\" rel=\"noopener\">Pandas: \u044f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 GroupBy \u0456 \u043f\u0456\u0434\u0440\u0430\u0445\u0443\u043d\u043e\u043a \u0437\u043d\u0430\u0447\u0435\u043d\u044c<\/a><br \/> <a href=\"https:\/\/statorials.org\/uk\/\u043f\u0430\u043d\u0434\u0438,-\u0437\u0433\u0440\u0443\u043f\u043e\u0432\u0430\u043d\u0456-\u043f\u043e-\u043a\u043e\u043d\u0442\u0435\u0438\u043d\u0435\u0440\u0430\u0445\/\" target=\"_blank\" rel=\"noopener\">Pandas: \u044f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 GroupBy \u0456\u0437 \u043f\u0456\u0434\u0440\u0430\u0445\u0443\u043d\u043a\u043e\u043c bin<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 aggfunc \u0443 \u0444\u0443\u043d\u043a\u0446\u0456\u0457 pandas crosstab() , \u0449\u043e\u0431 \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u043f\u0435\u0440\u0435\u0445\u0440\u0435\u0441\u043d\u0443 \u0442\u0430\u0431\u043b\u0438\u0446\u044e, \u044f\u043a\u0430 \u0430\u0433\u0440\u0435\u0433\u0443\u0454 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u043f\u0435\u0432\u043d\u043e\u0457 \u043c\u0435\u0442\u0440\u0438\u043a\u0438: p.d. crosstab (index=df. col1 , columns=df. col2 , values=df. col3 , aggfunc=&#8217; count &#8216;) \u0417\u043d\u0430\u0447\u0435\u043d\u043d\u044f\u043c aggfunc \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c \u0454 \u00abcount\u00bb, \u0430\u043b\u0435 \u0432\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u043a\u0430\u0437\u0430\u0442\u0438 \u0456\u043d\u0448\u0456 \u043c\u0435\u0442\u043e\u0434\u0438 \u0430\u0433\u0440\u0435\u0433\u0430\u0446\u0456\u0457, \u0442\u0430\u043a\u0456 \u044f\u043a \u0441\u0435\u0440\u0435\u0434\u043d\u0454, \u043c\u0435\u0434\u0456\u0430\u043d\u043d\u0435, \u0441\u0443\u043c\u0430, min, max [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Pandas: \u042f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 aggfunc \u0443 \u0444\u0443\u043d\u043a\u0446\u0456\u0457 crosstab() - \u0421\u0442\u0430\u0442\u043e\u043b\u043e\u0433\u0456\u044f<\/title>\n<meta name=\"description\" content=\"\u0426\u0435\u0439 \u043f\u0456\u0434\u0440\u0443\u0447\u043d\u0438\u043a \u043f\u043e\u044f\u0441\u043d\u044e\u0454, \u044f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 aggfunc \u0443 \u0444\u0443\u043d\u043a\u0446\u0456\u0457 crosstab() \u0443 pandas \u0456\u0437 \u043a\u0456\u043b\u044c\u043a\u043e\u043c\u0430 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0430\u043c\u0438.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/statorials.org\/uk\/pandas-cross-table-aggfunc\/\" \/>\n<meta property=\"og:locale\" content=\"uk_UA\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pandas: \u042f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 aggfunc \u0443 \u0444\u0443\u043d\u043a\u0446\u0456\u0457 crosstab() - \u0421\u0442\u0430\u0442\u043e\u043b\u043e\u0433\u0456\u044f\" \/>\n<meta property=\"og:description\" content=\"\u0426\u0435\u0439 \u043f\u0456\u0434\u0440\u0443\u0447\u043d\u0438\u043a \u043f\u043e\u044f\u0441\u043d\u044e\u0454, \u044f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 aggfunc \u0443 \u0444\u0443\u043d\u043a\u0446\u0456\u0457 crosstab() \u0443 pandas \u0456\u0437 \u043a\u0456\u043b\u044c\u043a\u043e\u043c\u0430 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0430\u043c\u0438.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/uk\/pandas-cross-table-aggfunc\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-12T03:18:22+00:00\" \/>\n<meta name=\"author\" content=\"\u0420\u0435\u0434\u0430\u043a\u0446\u0456\u044f\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u0420\u0435\u0434\u0430\u043a\u0446\u0456\u044f\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u0431\u043b. \u0447\u0430\u0441 \u0447\u0438\u0442\u0430\u043d\u043d\u044f\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u0445\u0432\u0438\u043b\u0438\u043d\u0430\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/uk\/pandas-cross-table-aggfunc\/\",\"url\":\"https:\/\/statorials.org\/uk\/pandas-cross-table-aggfunc\/\",\"name\":\"Pandas: \u042f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 aggfunc \u0443 \u0444\u0443\u043d\u043a\u0446\u0456\u0457 crosstab() - \u0421\u0442\u0430\u0442\u043e\u043b\u043e\u0433\u0456\u044f\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/uk\/#website\"},\"datePublished\":\"2023-07-12T03:18:22+00:00\",\"dateModified\":\"2023-07-12T03:18:22+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/uk\/#\/schema\/person\/2affa1a5da08a4b61ab4becd078c191a\"},\"description\":\"\u0426\u0435\u0439 \u043f\u0456\u0434\u0440\u0443\u0447\u043d\u0438\u043a \u043f\u043e\u044f\u0441\u043d\u044e\u0454, \u044f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 aggfunc \u0443 \u0444\u0443\u043d\u043a\u0446\u0456\u0457 crosstab() \u0443 pandas \u0456\u0437 \u043a\u0456\u043b\u044c\u043a\u043e\u043c\u0430 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0430\u043c\u0438.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/uk\/pandas-cross-table-aggfunc\/#breadcrumb\"},\"inLanguage\":\"uk\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/uk\/pandas-cross-table-aggfunc\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/uk\/pandas-cross-table-aggfunc\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0434\u043e\u0434\u043e\u043c\u0443\",\"item\":\"https:\/\/statorials.org\/uk\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Pandas: \u044f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 aggfunc \u0443 \u0444\u0443\u043d\u043a\u0446\u0456\u0457 crosstab().\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/uk\/#website\",\"url\":\"https:\/\/statorials.org\/uk\/\",\"name\":\"Statorials\",\"description\":\"\u0412\u0430\u0448 \u043f\u0443\u0442\u0456\u0432\u043d\u0438\u043a \u0434\u043e \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u0447\u043d\u043e\u0457 \u043a\u043e\u043c\u043f\u0435\u0442\u0435\u043d\u0442\u043d\u043e\u0441\u0442\u0456!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/uk\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"uk\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/uk\/#\/schema\/person\/2affa1a5da08a4b61ab4becd078c191a\",\"name\":\"\u0420\u0435\u0434\u0430\u043a\u0446\u0456\u044f\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"uk\",\"@id\":\"https:\/\/statorials.org\/uk\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/uk\/wp-content\/uploads\/2023\/11\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/uk\/wp-content\/uploads\/2023\/11\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"\u0420\u0435\u0434\u0430\u043a\u0446\u0456\u044f\"},\"description\":\"\u041f\u0440\u0438\u0432\u0456\u0442, \u044f \u0411\u0435\u043d\u0434\u0436\u0430\u043c\u0456\u043d, \u043f\u0440\u043e\u0444\u0435\u0441\u043e\u0440 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u043d\u0430 \u043f\u0435\u043d\u0441\u0456\u0457, \u044f\u043a\u0438\u0439 \u0441\u0442\u0430\u0432 \u0432\u0438\u043a\u043b\u0430\u0434\u0430\u0447\u0435\u043c \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438. \u041c\u0430\u044e\u0447\u0438 \u0432\u0435\u043b\u0438\u043a\u0438\u0439 \u0434\u043e\u0441\u0432\u0456\u0434 \u0456 \u0437\u043d\u0430\u043d\u043d\u044f \u0432 \u0433\u0430\u043b\u0443\u0437\u0456 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438, \u044f \u0433\u043e\u0442\u043e\u0432\u0438\u0439 \u043f\u043e\u0434\u0456\u043b\u0438\u0442\u0438\u0441\u044f \u0441\u0432\u043e\u0457\u043c\u0438 \u0437\u043d\u0430\u043d\u043d\u044f\u043c\u0438, \u0449\u043e\u0431 \u0440\u043e\u0437\u0448\u0438\u0440\u0438\u0442\u0438 \u043c\u043e\u0436\u043b\u0438\u0432\u043e\u0441\u0442\u0456 \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u0456\u0432 \u0447\u0435\u0440\u0435\u0437 Statorials. \u0414\u0456\u0437\u043d\u0430\u0439\u0442\u0435\u0441\u044f \u0431\u0456\u043b\u044c\u0448\u0435\",\"sameAs\":[\"http:\/\/statorials.org\/uk\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pandas: \u042f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 aggfunc \u0443 \u0444\u0443\u043d\u043a\u0446\u0456\u0457 crosstab() - \u0421\u0442\u0430\u0442\u043e\u043b\u043e\u0433\u0456\u044f","description":"\u0426\u0435\u0439 \u043f\u0456\u0434\u0440\u0443\u0447\u043d\u0438\u043a \u043f\u043e\u044f\u0441\u043d\u044e\u0454, \u044f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 aggfunc \u0443 \u0444\u0443\u043d\u043a\u0446\u0456\u0457 crosstab() \u0443 pandas \u0456\u0437 \u043a\u0456\u043b\u044c\u043a\u043e\u043c\u0430 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0430\u043c\u0438.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/statorials.org\/uk\/pandas-cross-table-aggfunc\/","og_locale":"uk_UA","og_type":"article","og_title":"Pandas: \u042f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 aggfunc \u0443 \u0444\u0443\u043d\u043a\u0446\u0456\u0457 crosstab() - \u0421\u0442\u0430\u0442\u043e\u043b\u043e\u0433\u0456\u044f","og_description":"\u0426\u0435\u0439 \u043f\u0456\u0434\u0440\u0443\u0447\u043d\u0438\u043a \u043f\u043e\u044f\u0441\u043d\u044e\u0454, \u044f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 aggfunc \u0443 \u0444\u0443\u043d\u043a\u0446\u0456\u0457 crosstab() \u0443 pandas \u0456\u0437 \u043a\u0456\u043b\u044c\u043a\u043e\u043c\u0430 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0430\u043c\u0438.","og_url":"https:\/\/statorials.org\/uk\/pandas-cross-table-aggfunc\/","og_site_name":"Statorials","article_published_time":"2023-07-12T03:18:22+00:00","author":"\u0420\u0435\u0434\u0430\u043a\u0446\u0456\u044f","twitter_card":"summary_large_image","twitter_misc":{"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e":"\u0420\u0435\u0434\u0430\u043a\u0446\u0456\u044f","\u041f\u0440\u0438\u0431\u043b. \u0447\u0430\u0441 \u0447\u0438\u0442\u0430\u043d\u043d\u044f":"1 \u0445\u0432\u0438\u043b\u0438\u043d\u0430"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/uk\/pandas-cross-table-aggfunc\/","url":"https:\/\/statorials.org\/uk\/pandas-cross-table-aggfunc\/","name":"Pandas: \u042f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 aggfunc \u0443 \u0444\u0443\u043d\u043a\u0446\u0456\u0457 crosstab() - \u0421\u0442\u0430\u0442\u043e\u043b\u043e\u0433\u0456\u044f","isPartOf":{"@id":"https:\/\/statorials.org\/uk\/#website"},"datePublished":"2023-07-12T03:18:22+00:00","dateModified":"2023-07-12T03:18:22+00:00","author":{"@id":"https:\/\/statorials.org\/uk\/#\/schema\/person\/2affa1a5da08a4b61ab4becd078c191a"},"description":"\u0426\u0435\u0439 \u043f\u0456\u0434\u0440\u0443\u0447\u043d\u0438\u043a \u043f\u043e\u044f\u0441\u043d\u044e\u0454, \u044f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 aggfunc \u0443 \u0444\u0443\u043d\u043a\u0446\u0456\u0457 crosstab() \u0443 pandas \u0456\u0437 \u043a\u0456\u043b\u044c\u043a\u043e\u043c\u0430 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0430\u043c\u0438.","breadcrumb":{"@id":"https:\/\/statorials.org\/uk\/pandas-cross-table-aggfunc\/#breadcrumb"},"inLanguage":"uk","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/uk\/pandas-cross-table-aggfunc\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/uk\/pandas-cross-table-aggfunc\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0434\u043e\u0434\u043e\u043c\u0443","item":"https:\/\/statorials.org\/uk\/"},{"@type":"ListItem","position":2,"name":"Pandas: \u044f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 aggfunc \u0443 \u0444\u0443\u043d\u043a\u0446\u0456\u0457 crosstab()."}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/uk\/#website","url":"https:\/\/statorials.org\/uk\/","name":"Statorials","description":"\u0412\u0430\u0448 \u043f\u0443\u0442\u0456\u0432\u043d\u0438\u043a \u0434\u043e \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u0447\u043d\u043e\u0457 \u043a\u043e\u043c\u043f\u0435\u0442\u0435\u043d\u0442\u043d\u043e\u0441\u0442\u0456!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/uk\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"uk"},{"@type":"Person","@id":"https:\/\/statorials.org\/uk\/#\/schema\/person\/2affa1a5da08a4b61ab4becd078c191a","name":"\u0420\u0435\u0434\u0430\u043a\u0446\u0456\u044f","image":{"@type":"ImageObject","inLanguage":"uk","@id":"https:\/\/statorials.org\/uk\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/uk\/wp-content\/uploads\/2023\/11\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/uk\/wp-content\/uploads\/2023\/11\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"\u0420\u0435\u0434\u0430\u043a\u0446\u0456\u044f"},"description":"\u041f\u0440\u0438\u0432\u0456\u0442, \u044f \u0411\u0435\u043d\u0434\u0436\u0430\u043c\u0456\u043d, \u043f\u0440\u043e\u0444\u0435\u0441\u043e\u0440 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u043d\u0430 \u043f\u0435\u043d\u0441\u0456\u0457, \u044f\u043a\u0438\u0439 \u0441\u0442\u0430\u0432 \u0432\u0438\u043a\u043b\u0430\u0434\u0430\u0447\u0435\u043c \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438. \u041c\u0430\u044e\u0447\u0438 \u0432\u0435\u043b\u0438\u043a\u0438\u0439 \u0434\u043e\u0441\u0432\u0456\u0434 \u0456 \u0437\u043d\u0430\u043d\u043d\u044f \u0432 \u0433\u0430\u043b\u0443\u0437\u0456 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438, \u044f \u0433\u043e\u0442\u043e\u0432\u0438\u0439 \u043f\u043e\u0434\u0456\u043b\u0438\u0442\u0438\u0441\u044f \u0441\u0432\u043e\u0457\u043c\u0438 \u0437\u043d\u0430\u043d\u043d\u044f\u043c\u0438, \u0449\u043e\u0431 \u0440\u043e\u0437\u0448\u0438\u0440\u0438\u0442\u0438 \u043c\u043e\u0436\u043b\u0438\u0432\u043e\u0441\u0442\u0456 \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u0456\u0432 \u0447\u0435\u0440\u0435\u0437 Statorials. \u0414\u0456\u0437\u043d\u0430\u0439\u0442\u0435\u0441\u044f \u0431\u0456\u043b\u044c\u0448\u0435","sameAs":["http:\/\/statorials.org\/uk"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/uk\/wp-json\/wp\/v2\/posts\/4304"}],"collection":[{"href":"https:\/\/statorials.org\/uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/uk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/uk\/wp-json\/wp\/v2\/comments?post=4304"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/uk\/wp-json\/wp\/v2\/posts\/4304\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/uk\/wp-json\/wp\/v2\/media?parent=4304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/uk\/wp-json\/wp\/v2\/categories?post=4304"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/uk\/wp-json\/wp\/v2\/tags?post=4304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}