{"id":4307,"date":"2023-07-12T03:18:22","date_gmt":"2023-07-12T03:18:22","guid":{"rendered":"https:\/\/statorials.org\/my\/%e1%80%95%e1%80%94%e1%80%ba%e1%80%92%e1%80%ab%e1%80%9c%e1%80%80%e1%80%ba%e1%80%9d%e1%80%ab%e1%80%b8%e1%80%80%e1%80%95%e1%80%ba%e1%80%90%e1%80%ad%e1%80%af%e1%80%84%e1%80%ba%e1%80%85%e1%80%ac%e1%80%b8\/"},"modified":"2023-07-12T03:18:22","modified_gmt":"2023-07-12T03:18:22","slug":"%e1%80%95%e1%80%94%e1%80%ba%e1%80%92%e1%80%ab%e1%80%9c%e1%80%80%e1%80%ba%e1%80%9d%e1%80%ab%e1%80%b8%e1%80%80%e1%80%95%e1%80%ba%e1%80%90%e1%80%ad%e1%80%af%e1%80%84%e1%80%ba%e1%80%85%e1%80%ac%e1%80%b8","status":"publish","type":"post","link":"https:\/\/statorials.org\/my\/%e1%80%95%e1%80%94%e1%80%ba%e1%80%92%e1%80%ab%e1%80%9c%e1%80%80%e1%80%ba%e1%80%9d%e1%80%ab%e1%80%b8%e1%80%80%e1%80%95%e1%80%ba%e1%80%90%e1%80%ad%e1%80%af%e1%80%84%e1%80%ba%e1%80%85%e1%80%ac%e1%80%b8\/","title":{"rendered":"Pandas- crosstab() \u101c\u102f\u1015\u103a\u1006\u1031\u102c\u1004\u103a\u1001\u103b\u1000\u103a\u1010\u103d\u1004\u103a aggfunc \u1000\u102d\u102f\u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u1014\u100a\u103a\u1038"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">\u1010\u102d\u1000\u103b\u101e\u1031\u102c\u1019\u1000\u103a\u1011\u101b\u1005\u103a\u1000\u102d\u102f \u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u104d \u1010\u1014\u103a\u1016\u102d\u102f\u1038\u1019\u103b\u102c\u1038\u1000\u102d\u102f \u1015\u1031\u102b\u1004\u103a\u1038\u1005\u100a\u103a\u1038\u101e\u100a\u1037\u103a crosstab \u1010\u1005\u103a\u1001\u102f\u1000\u102d\u102f \u1016\u1014\u103a\u1010\u102e\u1038\u101b\u1014\u103a pandas <strong>crosstab()<\/strong> \u101c\u102f\u1015\u103a\u1006\u1031\u102c\u1004\u103a\u1001\u103b\u1000\u103a\u1010\u103d\u1004\u103a <b>aggfunc<\/b> \u1021\u1004\u103c\u1004\u103a\u1038\u1021\u1001\u102f\u1036\u1000\u102d\u102f \u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u1014\u102d\u102f\u1004\u103a\u101e\u100a\u103a\u104b<\/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;\"><strong>aggfunc<\/strong> \u104f \u1019\u1030\u101b\u1004\u103a\u1038\u1010\u1014\u103a\u1016\u102d\u102f\u1038\u101e\u100a\u103a &#8220; \u101b\u1031\u1010\u103d\u1000\u103a\u1001\u103c\u1004\u103a\u1038&#8221;  \u1016\u103c\u1005\u103a\u101e\u1031\u102c\u103a\u101c\u100a\u103a\u1038\u104a \u1015\u103b\u1019\u103a\u1038\u1019\u103b\u103e\u104a \u1021\u101c\u101a\u103a\u1021\u101c\u1010\u103a\u104a \u1015\u1031\u102b\u1004\u103a\u1038\u101c\u1012\u103a\u104a \u1021\u1014\u100a\u103a\u1038\u1006\u102f\u1036\u1038\u104a \u1021\u1019\u103b\u102c\u1038\u1006\u102f\u1036\u1038\u104a \u1005\u101e\u100a\u103a\u1010\u102d\u102f\u1037\u1000\u1032\u1037\u101e\u102d\u102f\u1037 \u1021\u1001\u103c\u102c\u1038\u101e\u1031\u102c \u1015\u1031\u102b\u1004\u103a\u1038\u1005\u1015\u103a\u1014\u100a\u103a\u1038\u101c\u1019\u103a\u1038\u1019\u103b\u102c\u1038\u1000\u102d\u102f \u101e\u1004\u103a\u101e\u1010\u103a\u1019\u103e\u1010\u103a\u1014\u102d\u102f\u1004\u103a\u1015\u102b\u101e\u100a\u103a\u104b<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>aggfunc<\/strong> \u1021\u1004\u103c\u1004\u103a\u1038\u1021\u1001\u102f\u1036\u1010\u103d\u1004\u103a \u1015\u1031\u102b\u1004\u103a\u1038\u1005\u100a\u103a\u1038\u1001\u103c\u1004\u103a\u1038\u1014\u100a\u103a\u1038\u101c\u1019\u103a\u1038\u1019\u103b\u102c\u1038\u1005\u103d\u102c\u1000\u102d\u102f\u101c\u100a\u103a\u1038 \u101e\u1004\u103a\u101e\u1010\u103a\u1019\u103e\u1010\u103a\u1014\u102d\u102f\u1004\u103a\u101e\u100a\u103a-<\/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;\">\u1021\u1031\u102c\u1000\u103a\u1016\u1031\u102c\u103a\u1015\u103c\u1015\u102b\u1014\u1019\u1030\u1014\u102c\u1019\u103b\u102c\u1038\u101e\u100a\u103a \u1021\u1031\u102c\u1000\u103a\u1015\u102b\u1015\u1014\u103a\u1012\u102b DataFrame \u1016\u103c\u1004\u1037\u103a \u1024\u1014\u100a\u103a\u1038\u101c\u1019\u103a\u1038\u1010\u1005\u103a\u1001\u102f\u1005\u102e\u1000\u102d\u102f \u101c\u1000\u103a\u1010\u103d\u1031\u1037\u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u1014\u100a\u103a\u1038\u1000\u102d\u102f \u1015\u103c\u101e\u101e\u100a\u103a-<\/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>\u1025\u1015\u1019\u102c 1- aggfunc \u1010\u103d\u1004\u103a \u1010\u1014\u103a\u1016\u102d\u102f\u1038\u1010\u1005\u103a\u1001\u102f\u1016\u103c\u1004\u1037\u103a crosstab \u1010\u1005\u103a\u1001\u102f\u1000\u102d\u102f \u1016\u1014\u103a\u1010\u102e\u1038\u1015\u102b\u104b<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">\u101b\u102c\u1011\u1030\u1038\u1010\u1005\u103a\u1001\u102f\u1005\u102e\u1014\u103e\u1004\u1037\u103a \u1021\u1016\u103d\u1032\u1037\u1015\u1031\u102b\u1004\u103a\u1038\u1005\u1015\u103a\u1019\u103e\u102f\u1021\u1010\u103d\u1000\u103a \u1015\u103b\u1019\u103a\u1038\u1019\u103b\u103e\u1010\u1014\u103a\u1016\u102d\u102f\u1038\u1021\u1019\u103e\u1010\u103a\u1019\u103b\u102c\u1038\u1000\u102d\u102f \u1015\u103c\u101e\u101e\u100a\u1037\u103a crosstab \u1010\u1005\u103a\u1001\u102f\u1000\u102d\u102f \u1016\u1014\u103a\u1010\u102e\u1038\u101b\u1014\u103a\u1021\u1010\u103d\u1000\u103a \u1021\u1031\u102c\u1000\u103a\u1015\u102b <strong>crosstab()<\/strong> \u101c\u102f\u1015\u103a\u1006\u1031\u102c\u1004\u103a\u1001\u103b\u1000\u103a\u1000\u102d\u102f <strong>aggfunc=&#8217;mean&#8217;<\/strong> \u1021\u1004\u103c\u1004\u103a\u1038\u1021\u1001\u102f\u1036\u1016\u103c\u1004\u1037\u103a \u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u1014\u102d\u102f\u1004\u103a\u1015\u102b\u101e\u100a\u103a\u104b<\/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;\">\u1024\u101e\u100a\u103a\u1019\u103e\u102c \u101b\u101c\u1012\u103a\u1000\u102d\u102f \u1019\u100a\u103a\u101e\u102d\u102f\u1037\u1021\u1013\u102d\u1015\u1039\u1015\u102c\u101a\u103a\u1016\u103d\u1004\u1037\u103a\u1006\u102d\u102f\u1014\u102d\u102f\u1004\u103a\u101e\u100a\u103a-<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\">\u1021\u1014\u1031\u1021\u1011\u102c\u1038 F \u1010\u103d\u1004\u103a\u101b\u103e\u102d\u101e\u1031\u102c \u1021\u101e\u1004\u103a\u1038 A \u1019\u103e \u1000\u1005\u102c\u1038\u101e\u1019\u102c\u1038\u1019\u103b\u102c\u1038\u104f \u1015\u103b\u1019\u103a\u1038\u1019\u103b\u103e\u101b\u1019\u103e\u1010\u103a\u1019\u103e\u102c <strong>24 \u1019\u103e\u1010\u103a<\/strong> \u1016\u103c\u1005\u103a\u101e\u100a\u103a\u104b<\/span><\/li>\n<li> <span style=\"color: #000000;\">\u1021\u1014\u1031\u1021\u1011\u102c\u1038 G \u1010\u103d\u1004\u103a\u101b\u103e\u102d\u101e\u1031\u102c \u1021\u101e\u1004\u103a\u1038 A \u104f \u1000\u1005\u102c\u1038\u101e\u1019\u102c\u1038\u1019\u103b\u102c\u1038\u104f \u1015\u103b\u1019\u103a\u1038\u1019\u103b\u103e\u101b\u1019\u103e\u1010\u103a\u1019\u103e\u102c <strong>23.5<\/strong> \u1016\u103c\u1005\u103a\u101e\u100a\u103a\u104b<\/span><\/li>\n<\/ul>\n<p> <span style=\"color: #000000;\">\u1014\u1031\u102c\u1000\u103a &#8230; \u1015\u103c\u102e\u1038\u1010\u1031\u102c\u1037\u104b<\/span><\/p>\n<p> <span style=\"color: #000000;\">\u1021\u1019\u103c\u1004\u1037\u103a\u1006\u102f\u1036\u1038\u1010\u1014\u103a\u1016\u102d\u102f\u1038\u1000\u1032\u1037\u101e\u102d\u102f\u1037\u101e\u1031\u102c \u1015\u1031\u102b\u1004\u103a\u1038\u1005\u100a\u103a\u1038\u1019\u103e\u102f\u1019\u1000\u103a\u1011\u101b\u1005\u103a\u1000\u102d\u102f \u1000\u103b\u103d\u1014\u103a\u102f\u1015\u103a\u1010\u102d\u102f\u1037\u101c\u100a\u103a\u1038 \u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u1014\u102d\u102f\u1004\u103a\u1015\u102b\u101e\u100a\u103a\u104b<\/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;\">\u1024\u101e\u100a\u103a\u1019\u103e\u102c \u101b\u101c\u1012\u103a\u1000\u102d\u102f \u1019\u100a\u103a\u101e\u102d\u102f\u1037\u1021\u1013\u102d\u1015\u1039\u1015\u102c\u101a\u103a\u1016\u103d\u1004\u1037\u103a\u1006\u102d\u102f\u1014\u102d\u102f\u1004\u103a\u101e\u100a\u103a-<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\">\u1021\u1014\u1031\u1021\u1011\u102c\u1038 F \u1010\u103d\u1004\u103a\u101b\u103e\u102d\u101e\u1031\u102c \u1021\u101e\u1004\u103a\u1038 A \u104f \u1000\u1005\u102c\u1038\u101e\u1019\u102c\u1038\u1019\u103b\u102c\u1038\u1021\u1010\u103d\u1000\u103a \u1021\u1019\u103b\u102c\u1038\u1006\u102f\u1036\u1038\u101b\u1019\u103e\u1010\u103a\u1019\u103e\u102c <strong>24 \u1019\u103e\u1010\u103a<\/strong> \u1016\u103c\u1005\u103a\u101e\u100a\u103a\u104b<\/span><\/li>\n<li> <span style=\"color: #000000;\">\u1021\u1014\u1031\u1021\u1011\u102c\u1038 G \u1010\u103d\u1004\u103a\u101b\u103e\u102d\u101e\u1031\u102c \u1021\u101e\u1004\u103a\u1038 A \u1010\u103d\u1004\u103a \u1000\u1005\u102c\u1038\u101e\u1019\u102c\u1038\u1019\u103b\u102c\u1038\u1021\u1010\u103d\u1000\u103a \u1021\u1019\u103b\u102c\u1038\u1006\u102f\u1036\u1038\u101b\u1019\u103e\u1010\u103a\u1019\u103e\u102c <strong>25<\/strong> \u1016\u103c\u1005\u103a\u101e\u100a\u103a\u104b<\/span><\/li>\n<\/ul>\n<p> <span style=\"color: #000000;\">\u1014\u1031\u102c\u1000\u103a &#8230; \u1015\u103c\u102e\u1038\u1010\u1031\u102c\u1037\u104b<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>\u1025\u1015\u1019\u102c 2-<\/strong><\/span> <span style=\"color: #000000;\"><strong>aggfunc \u1010\u103d\u1004\u103a \u1010\u1014\u103a\u1016\u102d\u102f\u1038\u1019\u103b\u102c\u1038\u1005\u103d\u102c\u1015\u102b\u101e\u1031\u102c crosstab \u1010\u1005\u103a\u1001\u102f\u1000\u102d\u102f \u1016\u1014\u103a\u1010\u102e\u1038\u1015\u102b\u104b<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">\u1014\u1031\u101b\u102c\u1010\u1005\u103a\u1001\u102f\u1005\u102e\u1014\u103e\u1004\u1037\u103a \u1021\u1016\u103d\u1032\u1037\u1015\u1031\u102b\u1004\u103a\u1038\u1005\u1015\u103a\u1019\u103e\u102f\u1010\u1005\u103a\u1001\u102f\u1005\u102e\u1021\u1010\u103d\u1000\u103a \u1021\u1019\u103e\u1010\u103a\u1010\u1014\u103a\u1016\u102d\u102f\u1038\u1019\u103b\u102c\u1038\u1000\u102d\u102f \u1019\u1000\u103a\u1011\u101b\u1005\u103a\u1019\u103b\u102c\u1038\u1005\u103d\u102c\u1016\u103c\u1004\u1037\u103a \u1005\u102f\u1005\u100a\u103a\u1038\u101b\u1014\u103a\u1021\u1010\u103d\u1000\u103a <strong>aggfunc<\/strong> \u1021\u1004\u103c\u1004\u103a\u1038\u1021\u1001\u102f\u1036\u1010\u103d\u1004\u103a \u1010\u1014\u103a\u1016\u102d\u102f\u1038\u1019\u103b\u102c\u1038\u1005\u103d\u102c\u1016\u103c\u1004\u1037\u103a <strong>crosstab()<\/strong> \u101c\u102f\u1015\u103a\u1006\u1031\u102c\u1004\u103a\u1001\u103b\u1000\u103a\u1000\u102d\u102f \u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u1014\u102d\u102f\u1004\u103a\u101e\u100a\u103a\u104b<\/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;\">\u1024\u101e\u100a\u103a\u1019\u103e\u102c \u101b\u101c\u1012\u103a\u1000\u102d\u102f \u1019\u100a\u103a\u101e\u102d\u102f\u1037\u1021\u1013\u102d\u1015\u1039\u1015\u102c\u101a\u103a\u1016\u103d\u1004\u1037\u103a\u1006\u102d\u102f\u1014\u102d\u102f\u1004\u103a\u101e\u100a\u103a-<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\">\u1021\u1014\u1031\u1021\u1011\u102c\u1038 F \u1010\u103d\u1004\u103a\u101b\u103e\u102d\u101e\u1031\u102c \u1021\u101e\u1004\u103a\u1038 A \u104f \u1000\u1005\u102c\u1038\u101e\u1019\u102c\u1038\u1019\u103b\u102c\u1038\u1021\u1010\u103d\u1000\u103a \u1021\u1014\u102d\u1019\u1037\u103a\u1006\u102f\u1036\u1038 \u1021\u1019\u103e\u1010\u103a\u1010\u1014\u103a\u1016\u102d\u102f\u1038\u101e\u100a\u103a <strong>24<\/strong> \u1016\u103c\u1005\u103a\u101e\u100a\u103a\u104b<\/span><\/li>\n<li> <span style=\"color: #000000;\">\u101b\u102c\u1011\u1030\u1038 G \u1010\u103d\u1004\u103a\u101b\u103e\u102d\u101e\u1031\u102c \u1021\u101e\u1004\u103a\u1038 A \u1000\u1005\u102c\u1038\u101e\u1019\u102c\u1038\u1019\u103b\u102c\u1038\u1021\u1010\u103d\u1000\u103a \u1021\u1014\u102d\u1019\u1037\u103a\u1006\u102f\u1036\u1038\u1021\u1019\u103e\u1010\u103a\u1010\u1014\u103a\u1016\u102d\u102f\u1038\u101e\u100a\u103a <strong>22<\/strong> \u1016\u103c\u1005\u103a\u101e\u100a\u103a\u104b<\/span><\/li>\n<li> <span style=\"color: #000000;\">\u101b\u102c\u1011\u1030\u1038 F \u1010\u103d\u1004\u103a \u1021\u101e\u1004\u103a\u1038 A \u104f \u1000\u1005\u102c\u1038\u101e\u1019\u102c\u1038\u1019\u103b\u102c\u1038\u1021\u1010\u103d\u1000\u103a \u1021\u1019\u103b\u102c\u1038\u1006\u102f\u1036\u1038 \u1021\u1019\u103e\u1010\u103a\u1010\u1014\u103a\u1016\u102d\u102f\u1038\u101e\u100a\u103a <strong>24<\/strong> \u1016\u103c\u1005\u103a\u101e\u100a\u103a\u104b<\/span><\/li>\n<li> <span style=\"color: #000000;\">\u101b\u102c\u1011\u1030\u1038 G \u1010\u103d\u1004\u103a\u101b\u103e\u102d\u101e\u1031\u102c \u1021\u101e\u1004\u103a\u1038 A \u1000\u1005\u102c\u1038\u101e\u1019\u102c\u1038\u1019\u103b\u102c\u1038\u1021\u1010\u103d\u1000\u103a \u1021\u1019\u103b\u102c\u1038\u1006\u102f\u1036\u1038\u1021\u1019\u103e\u1010\u103a\u1010\u1014\u103a\u1016\u102d\u102f\u1038\u101e\u100a\u103a <strong>25<\/strong> \u1016\u103c\u1005\u103a\u101e\u100a\u103a\u104b<\/span><\/li>\n<\/ul>\n<p> <span style=\"color: #000000;\">\u1014\u1031\u102c\u1000\u103a &#8230; \u1015\u103c\u102e\u1038\u1010\u1031\u102c\u1037\u104b<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>\u1019\u103e\u1010\u103a\u1001\u103b\u1000\u103a<\/strong> &#8211; pandas <strong>crosstab()<\/strong> \u101c\u102f\u1015\u103a\u1006\u1031\u102c\u1004\u103a\u1001\u103b\u1000\u103a\u104f \u1005\u102c\u101b\u103d\u1000\u103a\u1005\u102c\u1010\u1019\u103a\u1038\u1021\u1015\u103c\u100a\u1037\u103a\u1021\u1005\u102f\u1036\u1000\u102d\u102f <a href=\"https:\/\/pandas.pydata.org\/pandas-docs\/stable\/reference\/api\/pandas.crosstab.html\" target=\"_blank\" rel=\"noopener\">\u1024\u1014\u1031\u101b\u102c\u1010\u103d\u1004\u103a<\/a> \u101b\u103e\u102c\u1010\u103d\u1031\u1037\u1014\u102d\u102f\u1004\u103a\u1015\u102b\u101e\u100a\u103a\u104b<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>\u1011\u1015\u103a\u101c\u1031\u102c\u1004\u103a\u1038\u1021\u101b\u1004\u103a\u1038\u1021\u1019\u103c\u1005\u103a\u1019\u103b\u102c\u1038<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">\u1021\u1031\u102c\u1000\u103a\u1016\u1031\u102c\u103a\u1015\u103c\u1015\u102b \u101e\u1004\u103a\u1001\u1014\u103a\u1038\u1005\u102c\u1019\u103b\u102c\u1038\u101e\u100a\u103a \u1021\u1001\u103c\u102c\u1038\u1018\u102f\u1036\u1015\u1014\u103a\u1012\u102b\u1010\u102c\u101d\u1014\u103a\u1019\u103b\u102c\u1038\u1000\u102d\u102f \u1019\u100a\u103a\u101e\u102d\u102f\u1037\u101c\u102f\u1015\u103a\u1006\u1031\u102c\u1004\u103a\u101b\u1019\u100a\u103a\u1000\u102d\u102f \u101b\u103e\u1004\u103a\u1038\u1015\u103c\u101e\u100a\u103a-<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/my\/\u1015\u1014\u103a\u1012\u102b\u1019\u103b\u102c\u1038\u101e\u100a\u103a-\u1007\u101a\u102c\u1038\u101b\u102c\u1001\u102d\u102f\u1004\u103a\u1014\u103e\u102f\u1014\u103a\u1038\u1000\u102d\u102f-\u1016\u103c\u1010\u103a\u1000\u103b\u1031\u102c\u103a\u101e\u100a\u103a\u104b\/\" target=\"_blank\" rel=\"noopener\">Pandas- \u101b\u102c\u1001\u102d\u102f\u1004\u103a\u1014\u103e\u102f\u1014\u103a\u1038\u1019\u103b\u102c\u1038\u1016\u103c\u1004\u1037\u103a crosstab \u1010\u1005\u103a\u1001\u102f\u1000\u102d\u102f \u1016\u1014\u103a\u1010\u102e\u1038\u1014\u100a\u103a\u1038<\/a><br \/> <a href=\"https:\/\/statorials.org\/my\/\u1015\u1014\u103a\u1012\u102b\u1019\u103b\u102c\u1038-\u1021\u102f\u1015\u103a\u1005\u102f\u1021\u101c\u102d\u102f\u1000\u103a-\u1010\u1014\u103a\u1016\u102d\u102f\u1038-\u1021\u101b\u1031\u1021\u1010\u103d\u1000\u103a\u1019\u103b\u102c\u1038\/\" target=\"_blank\" rel=\"noopener\">Pandas- GroupBy \u1000\u102d\u102f\u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u1015\u102f\u1036\u1014\u103e\u1004\u1037\u103a \u1010\u1014\u103a\u1016\u102d\u102f\u1038\u1021\u101b\u1031\u1021\u1010\u103d\u1000\u103a\u1019\u103b\u102c\u1038<\/a><br \/> <a href=\"https:\/\/statorials.org\/my\/\u1015\u1014\u103a\u1012\u102b\u1019\u103b\u102c\u1038\u1021\u102f\u1015\u103a\u1005\u102f\u101c\u102d\u102f\u1000\u103a\u1015\u102f\u1036\u1038\u1019\u103b\u102c\u1038\/\" target=\"_blank\" rel=\"noopener\">Pandas- bin \u1021\u101b\u1031\u1021\u1010\u103d\u1000\u103a\u1016\u103c\u1004\u1037\u103a GroupBy \u1000\u102d\u102f\u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u1014\u100a\u103a\u1038<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u1010\u102d\u1000\u103b\u101e\u1031\u102c\u1019\u1000\u103a\u1011\u101b\u1005\u103a\u1000\u102d\u102f \u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u104d \u1010\u1014\u103a\u1016\u102d\u102f\u1038\u1019\u103b\u102c\u1038\u1000\u102d\u102f \u1015\u1031\u102b\u1004\u103a\u1038\u1005\u100a\u103a\u1038\u101e\u100a\u1037\u103a crosstab \u1010\u1005\u103a\u1001\u102f\u1000\u102d\u102f \u1016\u1014\u103a\u1010\u102e\u1038\u101b\u1014\u103a pandas crosstab() \u101c\u102f\u1015\u103a\u1006\u1031\u102c\u1004\u103a\u1001\u103b\u1000\u103a\u1010\u103d\u1004\u103a aggfunc \u1021\u1004\u103c\u1004\u103a\u1038\u1021\u1001\u102f\u1036\u1000\u102d\u102f \u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u1014\u102d\u102f\u1004\u103a\u101e\u100a\u103a\u104b p.d. crosstab (index=df. col1 , columns=df. col2 , values=df. col3 , aggfunc=&#8217; count &#8216;) aggfunc \u104f \u1019\u1030\u101b\u1004\u103a\u1038\u1010\u1014\u103a\u1016\u102d\u102f\u1038\u101e\u100a\u103a &#8220; \u101b\u1031\u1010\u103d\u1000\u103a\u1001\u103c\u1004\u103a\u1038&#8221; \u1016\u103c\u1005\u103a\u101e\u1031\u102c\u103a\u101c\u100a\u103a\u1038\u104a \u1015\u103b\u1019\u103a\u1038\u1019\u103b\u103e\u104a \u1021\u101c\u101a\u103a\u1021\u101c\u1010\u103a\u104a \u1015\u1031\u102b\u1004\u103a\u1038\u101c\u1012\u103a\u104a \u1021\u1014\u100a\u103a\u1038\u1006\u102f\u1036\u1038\u104a \u1021\u1019\u103b\u102c\u1038\u1006\u102f\u1036\u1038\u104a \u1005\u101e\u100a\u103a\u1010\u102d\u102f\u1037\u1000\u1032\u1037\u101e\u102d\u102f\u1037 \u1021\u1001\u103c\u102c\u1038\u101e\u1031\u102c \u1015\u1031\u102b\u1004\u103a\u1038\u1005\u1015\u103a\u1014\u100a\u103a\u1038\u101c\u1019\u103a\u1038\u1019\u103b\u102c\u1038\u1000\u102d\u102f \u101e\u1004\u103a\u101e\u1010\u103a\u1019\u103e\u1010\u103a\u1014\u102d\u102f\u1004\u103a\u1015\u102b\u101e\u100a\u103a\u104b aggfunc \u1021\u1004\u103c\u1004\u103a\u1038\u1021\u1001\u102f\u1036\u1010\u103d\u1004\u103a \u1015\u1031\u102b\u1004\u103a\u1038\u1005\u100a\u103a\u1038\u1001\u103c\u1004\u103a\u1038\u1014\u100a\u103a\u1038\u101c\u1019\u103a\u1038\u1019\u103b\u102c\u1038\u1005\u103d\u102c\u1000\u102d\u102f\u101c\u100a\u103a\u1038 \u101e\u1004\u103a\u101e\u1010\u103a\u1019\u103e\u1010\u103a\u1014\u102d\u102f\u1004\u103a\u101e\u100a\u103a- p.d. crosstab (index=df. col1 , columns=df. col2 , values=df. [&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- crosstab() function \u1010\u103d\u1004\u103a aggfunc \u1000\u102d\u102f\u1019\u100a\u103a\u101e\u102d\u102f\u1037\u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u101b\u1019\u100a\u103a\u1014\u100a\u103a\u1038 - Statology<\/title>\n<meta name=\"description\" content=\"\u1024\u101e\u1004\u103a\u1001\u1014\u103a\u1038\u1005\u102c\u1010\u103d\u1004\u103a \u1015\u1014\u103a\u1012\u102b\u1019\u103b\u102c\u1038\u101b\u103e\u102d crosstab() \u101c\u102f\u1015\u103a\u1006\u1031\u102c\u1004\u103a\u1001\u103b\u1000\u103a\u101b\u103e\u102d aggfunc \u1021\u1004\u103c\u1004\u103a\u1038\u1021\u1001\u102f\u1036\u1000\u102d\u102f \u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u1015\u102f\u1036\u1000\u102d\u102f \u1025\u1015\u1019\u102c\u1019\u103b\u102c\u1038\u1005\u103d\u102c\u1016\u103c\u1004\u1037\u103a \u101b\u103e\u1004\u103a\u1038\u1015\u103c\u1011\u102c\u1038\u101e\u100a\u103a\u104b\" \/>\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\/my\/\u1015\u1014\u103a\u1012\u102b\u101c\u1000\u103a\u101d\u102b\u1038\u1000\u1015\u103a\u1010\u102d\u102f\u1004\u103a\u1005\u102c\u1038\/\" \/>\n<meta property=\"og:locale\" content=\"my_MM\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pandas- crosstab() function \u1010\u103d\u1004\u103a aggfunc \u1000\u102d\u102f\u1019\u100a\u103a\u101e\u102d\u102f\u1037\u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u101b\u1019\u100a\u103a\u1014\u100a\u103a\u1038 - Statology\" \/>\n<meta property=\"og:description\" content=\"\u1024\u101e\u1004\u103a\u1001\u1014\u103a\u1038\u1005\u102c\u1010\u103d\u1004\u103a \u1015\u1014\u103a\u1012\u102b\u1019\u103b\u102c\u1038\u101b\u103e\u102d crosstab() \u101c\u102f\u1015\u103a\u1006\u1031\u102c\u1004\u103a\u1001\u103b\u1000\u103a\u101b\u103e\u102d aggfunc \u1021\u1004\u103c\u1004\u103a\u1038\u1021\u1001\u102f\u1036\u1000\u102d\u102f \u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u1015\u102f\u1036\u1000\u102d\u102f \u1025\u1015\u1019\u102c\u1019\u103b\u102c\u1038\u1005\u103d\u102c\u1016\u103c\u1004\u1037\u103a \u101b\u103e\u1004\u103a\u1038\u1015\u103c\u1011\u102c\u1038\u101e\u100a\u103a\u104b\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/my\/\u1015\u1014\u103a\u1012\u102b\u101c\u1000\u103a\u101d\u102b\u1038\u1000\u1015\u103a\u1010\u102d\u102f\u1004\u103a\u1005\u102c\u1038\/\" \/>\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=\"Benjamin Anderson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Benjamin Anderson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/my\/%e1%80%95%e1%80%94%e1%80%ba%e1%80%92%e1%80%ab%e1%80%9c%e1%80%80%e1%80%ba%e1%80%9d%e1%80%ab%e1%80%b8%e1%80%80%e1%80%95%e1%80%ba%e1%80%90%e1%80%ad%e1%80%af%e1%80%84%e1%80%ba%e1%80%85%e1%80%ac%e1%80%b8\/\",\"url\":\"https:\/\/statorials.org\/my\/%e1%80%95%e1%80%94%e1%80%ba%e1%80%92%e1%80%ab%e1%80%9c%e1%80%80%e1%80%ba%e1%80%9d%e1%80%ab%e1%80%b8%e1%80%80%e1%80%95%e1%80%ba%e1%80%90%e1%80%ad%e1%80%af%e1%80%84%e1%80%ba%e1%80%85%e1%80%ac%e1%80%b8\/\",\"name\":\"Pandas- crosstab() function \u1010\u103d\u1004\u103a aggfunc \u1000\u102d\u102f\u1019\u100a\u103a\u101e\u102d\u102f\u1037\u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u101b\u1019\u100a\u103a\u1014\u100a\u103a\u1038 - Statology\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/my\/#website\"},\"datePublished\":\"2023-07-12T03:18:22+00:00\",\"dateModified\":\"2023-07-12T03:18:22+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/my\/#\/schema\/person\/e47470981684a202f7ed4c0cb1e10097\"},\"description\":\"\u1024\u101e\u1004\u103a\u1001\u1014\u103a\u1038\u1005\u102c\u1010\u103d\u1004\u103a \u1015\u1014\u103a\u1012\u102b\u1019\u103b\u102c\u1038\u101b\u103e\u102d crosstab() \u101c\u102f\u1015\u103a\u1006\u1031\u102c\u1004\u103a\u1001\u103b\u1000\u103a\u101b\u103e\u102d aggfunc \u1021\u1004\u103c\u1004\u103a\u1038\u1021\u1001\u102f\u1036\u1000\u102d\u102f \u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u1015\u102f\u1036\u1000\u102d\u102f \u1025\u1015\u1019\u102c\u1019\u103b\u102c\u1038\u1005\u103d\u102c\u1016\u103c\u1004\u1037\u103a \u101b\u103e\u1004\u103a\u1038\u1015\u103c\u1011\u102c\u1038\u101e\u100a\u103a\u104b\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/my\/%e1%80%95%e1%80%94%e1%80%ba%e1%80%92%e1%80%ab%e1%80%9c%e1%80%80%e1%80%ba%e1%80%9d%e1%80%ab%e1%80%b8%e1%80%80%e1%80%95%e1%80%ba%e1%80%90%e1%80%ad%e1%80%af%e1%80%84%e1%80%ba%e1%80%85%e1%80%ac%e1%80%b8\/#breadcrumb\"},\"inLanguage\":\"my-MM\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/my\/%e1%80%95%e1%80%94%e1%80%ba%e1%80%92%e1%80%ab%e1%80%9c%e1%80%80%e1%80%ba%e1%80%9d%e1%80%ab%e1%80%b8%e1%80%80%e1%80%95%e1%80%ba%e1%80%90%e1%80%ad%e1%80%af%e1%80%84%e1%80%ba%e1%80%85%e1%80%ac%e1%80%b8\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/my\/%e1%80%95%e1%80%94%e1%80%ba%e1%80%92%e1%80%ab%e1%80%9c%e1%80%80%e1%80%ba%e1%80%9d%e1%80%ab%e1%80%b8%e1%80%80%e1%80%95%e1%80%ba%e1%80%90%e1%80%ad%e1%80%af%e1%80%84%e1%80%ba%e1%80%85%e1%80%ac%e1%80%b8\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u1021\u102d\u1019\u103a\",\"item\":\"https:\/\/statorials.org\/my\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Pandas- crosstab() \u101c\u102f\u1015\u103a\u1006\u1031\u102c\u1004\u103a\u1001\u103b\u1000\u103a\u1010\u103d\u1004\u103a aggfunc \u1000\u102d\u102f\u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u1014\u100a\u103a\u1038\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/my\/#website\",\"url\":\"https:\/\/statorials.org\/my\/\",\"name\":\"Statorials\",\"description\":\"\u1005\u102c\u101b\u1004\u103a\u1038\u1021\u1004\u103a\u1038\u1006\u102d\u102f\u1004\u103a\u101b\u102c \u1021\u101b\u100a\u103a\u1021\u1001\u103b\u1004\u103a\u1038\u1021\u1010\u103d\u1000\u103a \u101e\u1004\u1037\u103a\u101c\u1019\u103a\u1038\u100a\u103d\u103e\u1014\u103a\u1001\u103b\u1000\u103a\u104b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/my\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"my-MM\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/my\/#\/schema\/person\/e47470981684a202f7ed4c0cb1e10097\",\"name\":\"Benjamin Anderson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"my-MM\",\"@id\":\"https:\/\/statorials.org\/my\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/my\/wp-content\/uploads\/2023\/11\/Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/my\/wp-content\/uploads\/2023\/11\/Benjamin-Anderson-96x96.jpg\",\"caption\":\"Benjamin Anderson\"},\"description\":\"\u1019\u1004\u103a\u1039\u1002\u101c\u102c\u1015\u102b\u104a \u1000\u103b\u103d\u1014\u103a\u102f\u1015\u103a\u101e\u100a\u103a \u1021\u1004\u103c\u102d\u1019\u103a\u1038\u1005\u102c\u1038 \u1005\u102c\u101b\u1004\u103a\u1038\u1021\u1004\u103a\u1038 \u1015\u102b\u1019\u1031\u102c\u1000\u1039\u1001 \u1018\u1004\u103a\u1002\u103b\u1019\u1004\u103a\u1016\u103c\u1005\u103a\u1015\u103c\u102e\u1038 \u101e\u102e\u1038\u101e\u1014\u1037\u103a Statorials \u1006\u101b\u102c\u1021\u1016\u103c\u1005\u103a \u101c\u103e\u100a\u1037\u103a\u1015\u1010\u103a\u1015\u102b\u101e\u100a\u103a\u104b \u1005\u102c\u101b\u1004\u103a\u1038\u1007\u101a\u102c\u1038\u1014\u101a\u103a\u1015\u101a\u103a\u1010\u103d\u1004\u103a \u1000\u103b\u101a\u103a\u1015\u103c\u1014\u1037\u103a\u101e\u1031\u102c\u1021\u1010\u103d\u1031\u1037\u1021\u1000\u103c\u102f\u1036\u1014\u103e\u1004\u1037\u103a \u1000\u103b\u103d\u1019\u103a\u1038\u1000\u103b\u1004\u103a\u1019\u103e\u102f\u1014\u103e\u1004\u1037\u103a\u1021\u1010\u1030\u104a Statorials \u1019\u103e\u1010\u1005\u103a\u1006\u1004\u1037\u103a \u1000\u103b\u1031\u102c\u1004\u103a\u1038\u101e\u102c\u1038\u1019\u103b\u102c\u1038\u1000\u102d\u102f \u1001\u103d\u1014\u103a\u1021\u102c\u1038\u1016\u103c\u1005\u103a\u1005\u1031\u101b\u1014\u103a\u1021\u1010\u103d\u1000\u103a \u1000\u103b\u103d\u1014\u103a\u102f\u1015\u103a\u104f\u1021\u101e\u102d\u1015\u100a\u102c\u1000\u102d\u102f \u1019\u103b\u103e\u101d\u1031\u101c\u102d\u102f\u1015\u102b\u101e\u100a\u103a\u104b \u1015\u102d\u102f\u101e\u102d\u1010\u101a\u103a\u104b\",\"sameAs\":[\"https:\/\/statorials.org\/my\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pandas- crosstab() function \u1010\u103d\u1004\u103a aggfunc \u1000\u102d\u102f\u1019\u100a\u103a\u101e\u102d\u102f\u1037\u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u101b\u1019\u100a\u103a\u1014\u100a\u103a\u1038 - Statology","description":"\u1024\u101e\u1004\u103a\u1001\u1014\u103a\u1038\u1005\u102c\u1010\u103d\u1004\u103a \u1015\u1014\u103a\u1012\u102b\u1019\u103b\u102c\u1038\u101b\u103e\u102d crosstab() \u101c\u102f\u1015\u103a\u1006\u1031\u102c\u1004\u103a\u1001\u103b\u1000\u103a\u101b\u103e\u102d aggfunc \u1021\u1004\u103c\u1004\u103a\u1038\u1021\u1001\u102f\u1036\u1000\u102d\u102f \u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u1015\u102f\u1036\u1000\u102d\u102f \u1025\u1015\u1019\u102c\u1019\u103b\u102c\u1038\u1005\u103d\u102c\u1016\u103c\u1004\u1037\u103a \u101b\u103e\u1004\u103a\u1038\u1015\u103c\u1011\u102c\u1038\u101e\u100a\u103a\u104b","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\/my\/\u1015\u1014\u103a\u1012\u102b\u101c\u1000\u103a\u101d\u102b\u1038\u1000\u1015\u103a\u1010\u102d\u102f\u1004\u103a\u1005\u102c\u1038\/","og_locale":"my_MM","og_type":"article","og_title":"Pandas- crosstab() function \u1010\u103d\u1004\u103a aggfunc \u1000\u102d\u102f\u1019\u100a\u103a\u101e\u102d\u102f\u1037\u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u101b\u1019\u100a\u103a\u1014\u100a\u103a\u1038 - Statology","og_description":"\u1024\u101e\u1004\u103a\u1001\u1014\u103a\u1038\u1005\u102c\u1010\u103d\u1004\u103a \u1015\u1014\u103a\u1012\u102b\u1019\u103b\u102c\u1038\u101b\u103e\u102d crosstab() \u101c\u102f\u1015\u103a\u1006\u1031\u102c\u1004\u103a\u1001\u103b\u1000\u103a\u101b\u103e\u102d aggfunc \u1021\u1004\u103c\u1004\u103a\u1038\u1021\u1001\u102f\u1036\u1000\u102d\u102f \u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u1015\u102f\u1036\u1000\u102d\u102f \u1025\u1015\u1019\u102c\u1019\u103b\u102c\u1038\u1005\u103d\u102c\u1016\u103c\u1004\u1037\u103a \u101b\u103e\u1004\u103a\u1038\u1015\u103c\u1011\u102c\u1038\u101e\u100a\u103a\u104b","og_url":"https:\/\/statorials.org\/my\/\u1015\u1014\u103a\u1012\u102b\u101c\u1000\u103a\u101d\u102b\u1038\u1000\u1015\u103a\u1010\u102d\u102f\u1004\u103a\u1005\u102c\u1038\/","og_site_name":"Statorials","article_published_time":"2023-07-12T03:18:22+00:00","author":"Benjamin Anderson","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Benjamin Anderson","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/my\/%e1%80%95%e1%80%94%e1%80%ba%e1%80%92%e1%80%ab%e1%80%9c%e1%80%80%e1%80%ba%e1%80%9d%e1%80%ab%e1%80%b8%e1%80%80%e1%80%95%e1%80%ba%e1%80%90%e1%80%ad%e1%80%af%e1%80%84%e1%80%ba%e1%80%85%e1%80%ac%e1%80%b8\/","url":"https:\/\/statorials.org\/my\/%e1%80%95%e1%80%94%e1%80%ba%e1%80%92%e1%80%ab%e1%80%9c%e1%80%80%e1%80%ba%e1%80%9d%e1%80%ab%e1%80%b8%e1%80%80%e1%80%95%e1%80%ba%e1%80%90%e1%80%ad%e1%80%af%e1%80%84%e1%80%ba%e1%80%85%e1%80%ac%e1%80%b8\/","name":"Pandas- crosstab() function \u1010\u103d\u1004\u103a aggfunc \u1000\u102d\u102f\u1019\u100a\u103a\u101e\u102d\u102f\u1037\u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u101b\u1019\u100a\u103a\u1014\u100a\u103a\u1038 - Statology","isPartOf":{"@id":"https:\/\/statorials.org\/my\/#website"},"datePublished":"2023-07-12T03:18:22+00:00","dateModified":"2023-07-12T03:18:22+00:00","author":{"@id":"https:\/\/statorials.org\/my\/#\/schema\/person\/e47470981684a202f7ed4c0cb1e10097"},"description":"\u1024\u101e\u1004\u103a\u1001\u1014\u103a\u1038\u1005\u102c\u1010\u103d\u1004\u103a \u1015\u1014\u103a\u1012\u102b\u1019\u103b\u102c\u1038\u101b\u103e\u102d crosstab() \u101c\u102f\u1015\u103a\u1006\u1031\u102c\u1004\u103a\u1001\u103b\u1000\u103a\u101b\u103e\u102d aggfunc \u1021\u1004\u103c\u1004\u103a\u1038\u1021\u1001\u102f\u1036\u1000\u102d\u102f \u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u1015\u102f\u1036\u1000\u102d\u102f \u1025\u1015\u1019\u102c\u1019\u103b\u102c\u1038\u1005\u103d\u102c\u1016\u103c\u1004\u1037\u103a \u101b\u103e\u1004\u103a\u1038\u1015\u103c\u1011\u102c\u1038\u101e\u100a\u103a\u104b","breadcrumb":{"@id":"https:\/\/statorials.org\/my\/%e1%80%95%e1%80%94%e1%80%ba%e1%80%92%e1%80%ab%e1%80%9c%e1%80%80%e1%80%ba%e1%80%9d%e1%80%ab%e1%80%b8%e1%80%80%e1%80%95%e1%80%ba%e1%80%90%e1%80%ad%e1%80%af%e1%80%84%e1%80%ba%e1%80%85%e1%80%ac%e1%80%b8\/#breadcrumb"},"inLanguage":"my-MM","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/my\/%e1%80%95%e1%80%94%e1%80%ba%e1%80%92%e1%80%ab%e1%80%9c%e1%80%80%e1%80%ba%e1%80%9d%e1%80%ab%e1%80%b8%e1%80%80%e1%80%95%e1%80%ba%e1%80%90%e1%80%ad%e1%80%af%e1%80%84%e1%80%ba%e1%80%85%e1%80%ac%e1%80%b8\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/my\/%e1%80%95%e1%80%94%e1%80%ba%e1%80%92%e1%80%ab%e1%80%9c%e1%80%80%e1%80%ba%e1%80%9d%e1%80%ab%e1%80%b8%e1%80%80%e1%80%95%e1%80%ba%e1%80%90%e1%80%ad%e1%80%af%e1%80%84%e1%80%ba%e1%80%85%e1%80%ac%e1%80%b8\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u1021\u102d\u1019\u103a","item":"https:\/\/statorials.org\/my\/"},{"@type":"ListItem","position":2,"name":"Pandas- crosstab() \u101c\u102f\u1015\u103a\u1006\u1031\u102c\u1004\u103a\u1001\u103b\u1000\u103a\u1010\u103d\u1004\u103a aggfunc \u1000\u102d\u102f\u1021\u101e\u102f\u1036\u1038\u1015\u103c\u102f\u1014\u100a\u103a\u1038"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/my\/#website","url":"https:\/\/statorials.org\/my\/","name":"Statorials","description":"\u1005\u102c\u101b\u1004\u103a\u1038\u1021\u1004\u103a\u1038\u1006\u102d\u102f\u1004\u103a\u101b\u102c \u1021\u101b\u100a\u103a\u1021\u1001\u103b\u1004\u103a\u1038\u1021\u1010\u103d\u1000\u103a \u101e\u1004\u1037\u103a\u101c\u1019\u103a\u1038\u100a\u103d\u103e\u1014\u103a\u1001\u103b\u1000\u103a\u104b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/my\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"my-MM"},{"@type":"Person","@id":"https:\/\/statorials.org\/my\/#\/schema\/person\/e47470981684a202f7ed4c0cb1e10097","name":"Benjamin Anderson","image":{"@type":"ImageObject","inLanguage":"my-MM","@id":"https:\/\/statorials.org\/my\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/my\/wp-content\/uploads\/2023\/11\/Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/my\/wp-content\/uploads\/2023\/11\/Benjamin-Anderson-96x96.jpg","caption":"Benjamin Anderson"},"description":"\u1019\u1004\u103a\u1039\u1002\u101c\u102c\u1015\u102b\u104a \u1000\u103b\u103d\u1014\u103a\u102f\u1015\u103a\u101e\u100a\u103a \u1021\u1004\u103c\u102d\u1019\u103a\u1038\u1005\u102c\u1038 \u1005\u102c\u101b\u1004\u103a\u1038\u1021\u1004\u103a\u1038 \u1015\u102b\u1019\u1031\u102c\u1000\u1039\u1001 \u1018\u1004\u103a\u1002\u103b\u1019\u1004\u103a\u1016\u103c\u1005\u103a\u1015\u103c\u102e\u1038 \u101e\u102e\u1038\u101e\u1014\u1037\u103a Statorials \u1006\u101b\u102c\u1021\u1016\u103c\u1005\u103a \u101c\u103e\u100a\u1037\u103a\u1015\u1010\u103a\u1015\u102b\u101e\u100a\u103a\u104b \u1005\u102c\u101b\u1004\u103a\u1038\u1007\u101a\u102c\u1038\u1014\u101a\u103a\u1015\u101a\u103a\u1010\u103d\u1004\u103a \u1000\u103b\u101a\u103a\u1015\u103c\u1014\u1037\u103a\u101e\u1031\u102c\u1021\u1010\u103d\u1031\u1037\u1021\u1000\u103c\u102f\u1036\u1014\u103e\u1004\u1037\u103a \u1000\u103b\u103d\u1019\u103a\u1038\u1000\u103b\u1004\u103a\u1019\u103e\u102f\u1014\u103e\u1004\u1037\u103a\u1021\u1010\u1030\u104a Statorials \u1019\u103e\u1010\u1005\u103a\u1006\u1004\u1037\u103a \u1000\u103b\u1031\u102c\u1004\u103a\u1038\u101e\u102c\u1038\u1019\u103b\u102c\u1038\u1000\u102d\u102f \u1001\u103d\u1014\u103a\u1021\u102c\u1038\u1016\u103c\u1005\u103a\u1005\u1031\u101b\u1014\u103a\u1021\u1010\u103d\u1000\u103a \u1000\u103b\u103d\u1014\u103a\u102f\u1015\u103a\u104f\u1021\u101e\u102d\u1015\u100a\u102c\u1000\u102d\u102f \u1019\u103b\u103e\u101d\u1031\u101c\u102d\u102f\u1015\u102b\u101e\u100a\u103a\u104b \u1015\u102d\u102f\u101e\u102d\u1010\u101a\u103a\u104b","sameAs":["https:\/\/statorials.org\/my"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/my\/wp-json\/wp\/v2\/posts\/4307"}],"collection":[{"href":"https:\/\/statorials.org\/my\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/my\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/my\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/my\/wp-json\/wp\/v2\/comments?post=4307"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/my\/wp-json\/wp\/v2\/posts\/4307\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/my\/wp-json\/wp\/v2\/media?parent=4307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/my\/wp-json\/wp\/v2\/categories?post=4307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/my\/wp-json\/wp\/v2\/tags?post=4307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}