{"id":2923,"date":"2023-07-20T01:55:54","date_gmt":"2023-07-20T01:55:54","guid":{"rendered":"https:\/\/statorials.org\/ar\/%d8%a7%d9%84%d8%a8%d8%a7%d9%86%d8%af%d8%a7-%d9%85%d8%ac%d9%85%d9%88%d8%b9%d8%a9-%d9%85%d9%88%d9%94%d8%a7%d9%85%d8%b1%d8%a9-%d8%b4%d8%b1%d9%8a%d8%b7\/"},"modified":"2023-07-20T01:55:54","modified_gmt":"2023-07-20T01:55:54","slug":"%d8%a7%d9%84%d8%a8%d8%a7%d9%86%d8%af%d8%a7-%d9%85%d8%ac%d9%85%d9%88%d8%b9%d8%a9-%d9%85%d9%88%d9%94%d8%a7%d9%85%d8%b1%d8%a9-%d8%b4%d8%b1%d9%8a%d8%b7","status":"publish","type":"post","link":"https:\/\/statorials.org\/ar\/%d8%a7%d9%84%d8%a8%d8%a7%d9%86%d8%af%d8%a7-%d9%85%d8%ac%d9%85%d9%88%d8%b9%d8%a9-%d9%85%d9%88%d9%94%d8%a7%d9%85%d8%b1%d8%a9-%d8%b4%d8%b1%d9%8a%d8%b7\/","title":{"rendered":"\u0627\u0644\u0628\u0627\u0646\u062f\u0627: \u0643\u064a\u0641\u064a\u0629 \u0625\u0646\u0634\u0627\u0621 \u0642\u0637\u0639\u0629 \u0623\u0631\u0636 \u0634\u0631\u064a\u0637\u064a\u0629 \u0645\u0646 groupby"},"content":{"rendered":"<p><\/p>\n<hr>\n<p style=\";text-align:right;direction:rtl\"><span style=\"color: #000000;\">\u064a\u0645\u0643\u0646\u0643 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0628\u0646\u0627\u0621 \u0627\u0644\u062c\u0645\u0644\u0629 \u0627\u0644\u062a\u0627\u0644\u064a \u0644\u0625\u0646\u0634\u0627\u0621 \u0645\u062e\u0637\u0637 \u0634\u0631\u064a\u0637\u064a \u0645\u0646 \u062f\u0627\u0644\u0629 GroupBy \u0641\u064a \u0627\u0644\u0628\u0627\u0646\u062f\u0627:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#calculate sum of values by group<\/span>\ndf_groups = df. <span style=\"color: #3366ff;\">groupby<\/span> ([' <span style=\"color: #ff0000;\">group_var<\/span> '])[' <span style=\"color: #ff0000;\">values_var<\/span> ']. <span style=\"color: #3366ff;\">sum<\/span> ()\n\n<span style=\"color: #008080;\">#create bar plot by group<\/span>\ndf_groups. <span style=\"color: #3366ff;\">plot<\/span> (kind=' <span style=\"color: #ff0000;\">bar<\/span> ')<\/strong>\n<\/pre>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u064a\u0648\u0636\u062d \u0627\u0644\u0645\u062b\u0627\u0644 \u0627\u0644\u062a\u0627\u0644\u064a \u0643\u064a\u0641\u064a\u0629 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0628\u0646\u0627\u0621 \u0627\u0644\u062c\u0645\u0644\u0629 \u0647\u0630\u0627 \u0639\u0645\u0644\u064a\u064b\u0627.<\/span><\/p>\n<h2 style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><strong>\u0645\u062b\u0627\u0644: \u0625\u0646\u0634\u0627\u0621 \u0645\u062e\u0637\u0637 \u0634\u0631\u064a\u0637\u064a \u0645\u0646 GroupBy \u0641\u064a Pandas<\/strong><\/span><\/h2>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0644\u0646\u0641\u062a\u0631\u0636 \u0623\u0646 \u0644\u062f\u064a\u0646\u0627 DataFrame \u0627\u0644\u0628\u0627\u0646\u062f\u0627 \u0627\u0644\u062a\u0627\u0644\u064a \u0627\u0644\u0630\u064a \u064a\u0639\u0631\u0636 \u0627\u0644\u0646\u0642\u0627\u0637 \u0627\u0644\u062a\u064a \u0633\u062c\u0644\u0647\u0627 \u0644\u0627\u0639\u0628\u0648 \u0643\u0631\u0629 \u0627\u0644\u0633\u0644\u0629 \u0645\u0646 \u0641\u0631\u0642 \u0645\u062e\u062a\u0644\u0641\u0629:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008000;\">import<\/span> pandas <span style=\"color: #008000;\">as<\/span> pd\n\n<span style=\"color: #008080;\">#createDataFrame\n<\/span>df = pd. <span style=\"color: #3366ff;\">DataFrame<\/span> ({' <span style=\"color: #ff0000;\">team<\/span> ': ['A', 'A', 'A', 'A', 'A',\n                            'B', 'B', 'B', 'B', 'B',\n                            'C', 'C', 'C', 'C', 'C'],\n                   ' <span style=\"color: #ff0000;\">points<\/span> ': [12, 29, 34, 14, 10, 11, 7, 36,\n                              34, 22, 41, 40, 45, 36, 38]})\n\n<span style=\"color: #008080;\">#view first five rows of DataFrame\n<\/span>df. <span style=\"color: #3366ff;\">head<\/span> ()\n\n\tteam points\n0 to 12\n1 to 29\n2 to 34\n3 to 14\n4 to 10<\/span><\/span><\/strong><\/pre>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><span style=\"color: #000000;\">\u064a\u0645\u0643\u0646\u0646\u0627 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u0635\u064a\u063a\u0629 \u0627\u0644\u062a\u0627\u0644\u064a\u0629 \u0644\u062d\u0633\u0627\u0628 \u0645\u062c\u0645\u0648\u0639 \u0627\u0644\u0646\u0642\u0627\u0637 \u0627\u0644\u062a\u064a \u0633\u062c\u0644\u0647\u0627 \u0643\u0644 \u0641\u0631\u064a\u0642 \u0648\u0625\u0646\u0634\u0627\u0621 \u0645\u062e\u0637\u0637 \u0634\u0631\u064a\u0637\u064a \u0644\u062a\u0635\u0648\u0631 \u0645\u062c\u0645\u0648\u0639 \u0643\u0644 \u0641\u0631\u064a\u0642:<\/span><\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008000;\">import<\/span> matplotlib. <span style=\"color: #3366ff;\">pyplot<\/span> <span style=\"color: #008000;\">as<\/span> plt<\/span>\n\n#calculate sum of points for each team\n<span style=\"color: #000000;\">df. <span style=\"color: #3366ff;\">groupby<\/span> (' <span style=\"color: #ff0000;\">team<\/span> ')[' <span style=\"color: #ff0000;\">points<\/span> ']. <span style=\"color: #3366ff;\">sum<\/span> ()\n\n<\/span>#create bar plot by group\n<span style=\"color: #000000;\">df_groups. <span style=\"color: #3366ff;\">plot<\/span> (kind=' <span style=\"color: #ff0000;\">bar<\/span> ')\n<\/span><\/span><\/strong><\/pre>\n<p style=\";text-align:right;direction:rtl\"><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-25431 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/groupby_bar1.jpg\" alt=\"\" width=\"387\" height=\"264\" srcset=\"\" sizes=\"\"><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u064a\u064f\u0638\u0647\u0631 \u0627\u0644\u0645\u062d\u0648\u0631 \u0627\u0644\u0633\u064a\u0646\u064a \u0627\u0633\u0645 \u0643\u0644 \u0641\u0631\u064a\u0642\u060c \u0628\u064a\u0646\u0645\u0627 \u064a\u064f\u0638\u0647\u0631 \u0627\u0644\u0645\u062d\u0648\u0631 \u0627\u0644\u0635\u0627\u062f\u064a \u0645\u062c\u0645\u0648\u0639 \u0627\u0644\u0646\u0642\u0627\u0637 \u0627\u0644\u062a\u064a \u0633\u062c\u0644\u0647\u0627 \u0643\u0644 \u0641\u0631\u064a\u0642.<\/span><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u064a\u0645\u0643\u0646\u0646\u0627 \u0623\u064a\u0636\u064b\u0627 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u0643\u0648\u062f \u0627\u0644\u062a\u0627\u0644\u064a \u0644\u062c\u0639\u0644 \u0627\u0644\u062d\u0628\u0643\u0629 \u0623\u0641\u0636\u0644 \u0642\u0644\u064a\u0644\u0627\u064b:<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #008080;\"><strong><span style=\"font-size: 15px; color: #008000;\">import<\/span> <span style=\"font-size: 15px; color: #000000;\">matplotlib.<\/span> <span style=\"font-size: 15px; color: #3366ff;\">pyplot<\/span> <span style=\"font-size: 15px; color: #008000;\">as<\/span> <span style=\"font-size: 15px; color: #000000;\">plt\n\n<\/span><span style=\"font-size: 15px; color: #008080;\">#calculate sum of points for each team\n<\/span><span style=\"font-size: 15px; color: #000000;\">df_groups = df.<\/span> <span style=\"font-size: 15px; color: #3366ff;\">groupby<\/span> <span style=\"font-size: 15px; color: #000000;\">(['<\/span> <span style=\"font-size: 15px; color: #ff0000;\">team<\/span> <span style=\"font-size: 15px; color: #000000;\">'])['<\/span> <span style=\"font-size: 15px; color: #ff0000;\">points<\/span> <span style=\"font-size: 15px; color: #000000;\">'].<\/span> <span style=\"font-size: 15px; color: #3366ff;\">sum<\/span> <span style=\"font-size: 15px; color: #000000;\">()\n\n<\/span><span style=\"font-size: 15px; color: #008080;\">#create bar plot with custom<\/span> <span style=\"color: #008080;\"><span style=\"font-size: 15px;\">aesthetics<\/span><\/span>\n<span style=\"font-size: 15px; color: #000000;\">df_groups.<\/span> <span style=\"font-size: 15px; color: #3366ff;\">plot<\/span> <span style=\"font-size: 15px; color: #000000;\">(kind='<\/span> <span style=\"font-size: 15px; color: #ff0000;\">bar<\/span> <span style=\"font-size: 15px; color: #000000;\">', title='<\/span> <span style=\"font-size: 15px; color: #ff0000;\">Total Points by Team<\/span> <span style=\"font-size: 15px; color: #000000;\">',\n               ylabel='<\/span> <span style=\"font-size: 15px; color: #ff0000;\">Total Points<\/span> ' <span style=\"font-size: 15px; color: #008000;\">,<\/span> <span style=\"font-size: 15px; color: #000000;\">xlabel='<\/span> <span style=\"font-size: 15px; color: #ff0000;\">Team<\/span> <span style=\"font-size: 15px; color: #000000;\">', figsize=(<\/span> <span style=\"font-size: 15px; color: #008000;\">10,6<\/span> <span style=\"font-size: 15px; color: #000000;\">)<\/span> <span style=\"font-size: 15px; color: #000000;\">)<\/span><span style=\"font-size: 15px; color: #000000;\">\n\n<\/span><span style=\"font-size: 15px; color: #008080;\">#rotate x-axis ticks vertically\n<\/span><span style=\"font-size: 15px; color: #000000;\">plt.<\/span> <span style=\"font-size: 15px; color: #3366ff;\">xticks<\/span> <span style=\"font-size: 15px; color: #000000;\">(rotation=<\/span> <span style=\"font-size: 15px; color: #008000;\">0<\/span> <span style=\"font-size: 15px; color: #000000;\">)<\/span><\/strong><b>\n<\/b><\/span><\/pre>\n<p style=\";text-align:right;direction:rtl\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-25432\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/groupby_bar2.jpg\" alt=\"\u0645\u062c\u0645\u0648\u0639\u0629 \u0645\u0646 \u0627\u0644\u0628\u0627\u0646\u062f\u0627 \u0644\u0643\u0644 \u0642\u0637\u0639\u0629 \u0645\u0646 \u0627\u0644\u0642\u0636\u0628\u0627\u0646\" width=\"605\" height=\"375\" srcset=\"\" sizes=\"\"><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><strong>\u0645\u0644\u0627\u062d\u0638\u0629<\/strong> : \u064a\u0645\u0643\u0646\u0643 \u0627\u0644\u0639\u062b\u0648\u0631 \u0639\u0644\u0649 \u0627\u0644\u0648\u062b\u0627\u0626\u0642 \u0627\u0644\u0643\u0627\u0645\u0644\u0629 \u0644\u0648\u0638\u064a\u0641\u0629 <strong>GroupBy<\/strong> <a href=\"https:\/\/pandas.pydata.org\/docs\/reference\/api\/pandas.DataFrame.groupby.html\" target=\"_blank\" rel=\"noopener\">\u0647\u0646\u0627<\/a> .<\/span><\/p>\n<h3 style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><strong>\u0645\u0635\u0627\u062f\u0631 \u0625\u0636\u0627\u0641\u064a\u0629<\/strong><\/span><\/h3>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u062a\u0634\u0631\u062d \u0627\u0644\u0628\u0631\u0627\u0645\u062c \u0627\u0644\u062a\u0639\u0644\u064a\u0645\u064a\u0629 \u0627\u0644\u062a\u0627\u0644\u064a\u0629 \u0643\u064a\u0641\u064a\u0629 \u062a\u0646\u0641\u064a\u0630 \u0627\u0644\u0639\u0645\u0644\u064a\u0627\u062a \u0627\u0644\u0634\u0627\u0626\u0639\u0629 \u0627\u0644\u0623\u062e\u0631\u0649 \u0641\u064a \u0627\u0644\u0628\u0627\u0646\u062f\u0627:<\/span><\/p>\n<p style=\";text-align:right;direction:rtl\"> <a href=\"https:\/\/statorials.org\/ar\/\u0639\u062f\u062f-\u0645\u062c\u0645\u0648\u0639\u0627\u062a-\u0627\u0644\u0628\u0627\u0646\u062f\u0627-\u0641\u0631\u064a\u062f-\u0645\u0646-\u0646\u0648\u0639\u0647\/\" target=\"_blank\" rel=\"noopener\">\u0627\u0644\u0628\u0627\u0646\u062f\u0627: \u0643\u064a\u0641\u064a\u0629 \u062d\u0633\u0627\u0628 \u0627\u0644\u0642\u064a\u0645 \u0627\u0644\u0641\u0631\u064a\u062f\u0629 \u062d\u0633\u0628 \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0629<\/a><br \/> <a href=\"https:\/\/statorials.org\/ar\/\u0648\u0636\u0639-\u0627\u0644\u0628\u0627\u0646\u062f\u0627-\u0627\u0644\u062c\u0645\u0627\u0639\u064a\/\" target=\"_blank\" rel=\"noopener\">\u0627\u0644\u0628\u0627\u0646\u062f\u0627: \u0643\u064a\u0641\u064a\u0629 \u062d\u0633\u0627\u0628 \u0627\u0644\u0648\u0636\u0639 \u062d\u0633\u0628 \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0629<\/a><br \/> <a href=\"https:\/\/statorials.org\/ar\/\u0627\u0644\u0628\u0627\u0646\u062f\u0627-\u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0629-\u0639\u0646-\u0637\u0631\u064a\u0642-\u0627\u0644\u0627\u0631\u062a\u0628\u0627\u0637\/\" target=\"_blank\" rel=\"noopener\">\u0627\u0644\u0628\u0627\u0646\u062f\u0627: \u0643\u064a\u0641\u064a\u0629 \u062d\u0633\u0627\u0628 \u0627\u0644\u0627\u0631\u062a\u0628\u0627\u0637 \u062d\u0633\u0628 \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0629<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u064a\u0645\u0643\u0646\u0643 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0628\u0646\u0627\u0621 \u0627\u0644\u062c\u0645\u0644\u0629 \u0627\u0644\u062a\u0627\u0644\u064a \u0644\u0625\u0646\u0634\u0627\u0621 \u0645\u062e\u0637\u0637 \u0634\u0631\u064a\u0637\u064a \u0645\u0646 \u062f\u0627\u0644\u0629 GroupBy \u0641\u064a \u0627\u0644\u0628\u0627\u0646\u062f\u0627: #calculate sum of values by group df_groups = df. groupby ([&#8216; group_var &#8216;])[&#8216; values_var &#8216;]. sum () #create bar plot by group df_groups. plot (kind=&#8217; bar &#8216;) \u064a\u0648\u0636\u062d \u0627\u0644\u0645\u062b\u0627\u0644 \u0627\u0644\u062a\u0627\u0644\u064a \u0643\u064a\u0641\u064a\u0629 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0628\u0646\u0627\u0621 \u0627\u0644\u062c\u0645\u0644\u0629 \u0647\u0630\u0627 \u0639\u0645\u0644\u064a\u064b\u0627. \u0645\u062b\u0627\u0644: \u0625\u0646\u0634\u0627\u0621 \u0645\u062e\u0637\u0637 \u0634\u0631\u064a\u0637\u064a \u0645\u0646 GroupBy [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u0627\u0644\u0628\u0627\u0646\u062f\u0627: \u0643\u064a\u0641\u064a\u0629 \u0625\u0646\u0634\u0627\u0621 \u0645\u062e\u0637\u0637 \u0634\u0631\u064a\u0637\u064a \u0645\u0646 GroupBy - \u0627\u0644\u0625\u062d\u0635\u0627\u0626\u064a\u0627\u062a<\/title>\n<meta name=\"description\" content=\"\u064a\u0634\u0631\u062d \u0647\u0630\u0627 \u0627\u0644\u0628\u0631\u0646\u0627\u0645\u062c \u0627\u0644\u062a\u0639\u0644\u064a\u0645\u064a \u0643\u064a\u0641\u064a\u0629 \u0625\u0646\u0634\u0627\u0621 \u0645\u062e\u0637\u0637 \u0634\u0631\u064a\u0637\u064a \u0645\u0646 \u062f\u0627\u0644\u0629 Pandas GroupBy\u060c \u0645\u0639 \u0645\u062b\u0627\u0644.\" \/>\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\/ar\/\u0627\u0644\u0628\u0627\u0646\u062f\u0627-\u0645\u062c\u0645\u0648\u0639\u0629-\u0645\u0648\u0654\u0627\u0645\u0631\u0629-\u0634\u0631\u064a\u0637\/\" \/>\n<meta property=\"og:locale\" content=\"az_AZ\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0627\u0644\u0628\u0627\u0646\u062f\u0627: \u0643\u064a\u0641\u064a\u0629 \u0625\u0646\u0634\u0627\u0621 \u0645\u062e\u0637\u0637 \u0634\u0631\u064a\u0637\u064a \u0645\u0646 GroupBy - \u0627\u0644\u0625\u062d\u0635\u0627\u0626\u064a\u0627\u062a\" \/>\n<meta property=\"og:description\" content=\"\u064a\u0634\u0631\u062d \u0647\u0630\u0627 \u0627\u0644\u0628\u0631\u0646\u0627\u0645\u062c \u0627\u0644\u062a\u0639\u0644\u064a\u0645\u064a \u0643\u064a\u0641\u064a\u0629 \u0625\u0646\u0634\u0627\u0621 \u0645\u062e\u0637\u0637 \u0634\u0631\u064a\u0637\u064a \u0645\u0646 \u062f\u0627\u0644\u0629 Pandas GroupBy\u060c \u0645\u0639 \u0645\u062b\u0627\u0644.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/ar\/\u0627\u0644\u0628\u0627\u0646\u062f\u0627-\u0645\u062c\u0645\u0648\u0639\u0629-\u0645\u0648\u0654\u0627\u0645\u0631\u0629-\u0634\u0631\u064a\u0637\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-20T01:55:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/groupby_bar1.jpg\" \/>\n<meta name=\"author\" content=\"\u062f\u0643\u062a\u0648\u0631 \u0628\u0646\u064a\u0627\u0645\u064a\u0646 \u0623\u0646\u062f\u0631\u0633\u0648\u0646\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u062f\u0643\u062a\u0648\u0631 \u0628\u0646\u064a\u0627\u0645\u064a\u0646 \u0623\u0646\u062f\u0631\u0633\u0648\u0646\" \/>\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\/ar\/%d8%a7%d9%84%d8%a8%d8%a7%d9%86%d8%af%d8%a7-%d9%85%d8%ac%d9%85%d9%88%d8%b9%d8%a9-%d9%85%d9%88%d9%94%d8%a7%d9%85%d8%b1%d8%a9-%d8%b4%d8%b1%d9%8a%d8%b7\/\",\"url\":\"https:\/\/statorials.org\/ar\/%d8%a7%d9%84%d8%a8%d8%a7%d9%86%d8%af%d8%a7-%d9%85%d8%ac%d9%85%d9%88%d8%b9%d8%a9-%d9%85%d9%88%d9%94%d8%a7%d9%85%d8%b1%d8%a9-%d8%b4%d8%b1%d9%8a%d8%b7\/\",\"name\":\"\u0627\u0644\u0628\u0627\u0646\u062f\u0627: \u0643\u064a\u0641\u064a\u0629 \u0625\u0646\u0634\u0627\u0621 \u0645\u062e\u0637\u0637 \u0634\u0631\u064a\u0637\u064a \u0645\u0646 GroupBy - \u0627\u0644\u0625\u062d\u0635\u0627\u0626\u064a\u0627\u062a\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/ar\/#website\"},\"datePublished\":\"2023-07-20T01:55:54+00:00\",\"dateModified\":\"2023-07-20T01:55:54+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/ar\/#\/schema\/person\/a0a26e65f97483429b863aae1a11e3b3\"},\"description\":\"\u064a\u0634\u0631\u062d \u0647\u0630\u0627 \u0627\u0644\u0628\u0631\u0646\u0627\u0645\u062c \u0627\u0644\u062a\u0639\u0644\u064a\u0645\u064a \u0643\u064a\u0641\u064a\u0629 \u0625\u0646\u0634\u0627\u0621 \u0645\u062e\u0637\u0637 \u0634\u0631\u064a\u0637\u064a \u0645\u0646 \u062f\u0627\u0644\u0629 Pandas GroupBy\u060c \u0645\u0639 \u0645\u062b\u0627\u0644.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/ar\/%d8%a7%d9%84%d8%a8%d8%a7%d9%86%d8%af%d8%a7-%d9%85%d8%ac%d9%85%d9%88%d8%b9%d8%a9-%d9%85%d9%88%d9%94%d8%a7%d9%85%d8%b1%d8%a9-%d8%b4%d8%b1%d9%8a%d8%b7\/#breadcrumb\"},\"inLanguage\":\"azb\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/ar\/%d8%a7%d9%84%d8%a8%d8%a7%d9%86%d8%af%d8%a7-%d9%85%d8%ac%d9%85%d9%88%d8%b9%d8%a9-%d9%85%d9%88%d9%94%d8%a7%d9%85%d8%b1%d8%a9-%d8%b4%d8%b1%d9%8a%d8%b7\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/ar\/%d8%a7%d9%84%d8%a8%d8%a7%d9%86%d8%af%d8%a7-%d9%85%d8%ac%d9%85%d9%88%d8%b9%d8%a9-%d9%85%d9%88%d9%94%d8%a7%d9%85%d8%b1%d8%a9-%d8%b4%d8%b1%d9%8a%d8%b7\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0628\u064a\u062a\",\"item\":\"https:\/\/statorials.org\/ar\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0627\u0644\u0628\u0627\u0646\u062f\u0627: \u0643\u064a\u0641\u064a\u0629 \u0625\u0646\u0634\u0627\u0621 \u0642\u0637\u0639\u0629 \u0623\u0631\u0636 \u0634\u0631\u064a\u0637\u064a\u0629 \u0645\u0646 groupby\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/ar\/#website\",\"url\":\"https:\/\/statorials.org\/ar\/\",\"name\":\"Statorials\",\"description\":\"\u062f\u0644\u064a\u0644\u0643 \u0644\u0645\u062d\u0648 \u0627\u0644\u0623\u0645\u064a\u0629 \u0627\u0644\u0625\u062d\u0635\u0627\u0626\u064a\u0629!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/ar\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"azb\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/ar\/#\/schema\/person\/a0a26e65f97483429b863aae1a11e3b3\",\"name\":\"\u062f\u0643\u062a\u0648\u0631 \u0628\u0646\u064a\u0627\u0645\u064a\u0646 \u0623\u0646\u062f\u0631\u0633\u0648\u0646\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"azb\",\"@id\":\"https:\/\/statorials.org\/ar\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/ar\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/ar\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"\u062f\u0643\u062a\u0648\u0631 \u0628\u0646\u064a\u0627\u0645\u064a\u0646 \u0623\u0646\u062f\u0631\u0633\u0648\u0646\"},\"description\":\"\u0645\u0631\u062d\u0628\u064b\u0627\u060c \u0623\u0646\u0627 \u0628\u0646\u062c\u0627\u0645\u064a\u0646\u060c \u0623\u0633\u062a\u0627\u0630 \u0627\u0644\u0625\u062d\u0635\u0627\u0621 \u0627\u0644\u0645\u062a\u0642\u0627\u0639\u062f \u0627\u0644\u0630\u064a \u062a\u062d\u0648\u0644 \u0625\u0644\u0649 \u0645\u062f\u0631\u0633 \u0645\u062a\u062e\u0635\u0635 \u0641\u064a Statorials. \u0628\u0641\u0636\u0644 \u062e\u0628\u0631\u062a\u064a \u0627\u0644\u0648\u0627\u0633\u0639\u0629 \u0641\u064a \u0645\u062c\u0627\u0644 \u0627\u0644\u0625\u062d\u0635\u0627\u0621\u060c \u0641\u0623\u0646\u0627 \u062d\u0631\u064a\u0635 \u0639\u0644\u0649 \u0645\u0634\u0627\u0631\u0643\u0629 \u0645\u0639\u0631\u0641\u062a\u064a \u0644\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0637\u0644\u0627\u0628 \u0645\u0646 \u062e\u0644\u0627\u0644 Statorials. \u062a\u0639\u0631\u0641 \u0623\u0643\u062b\u0631\",\"sameAs\":[\"https:\/\/statorials.org\/ar\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u0627\u0644\u0628\u0627\u0646\u062f\u0627: \u0643\u064a\u0641\u064a\u0629 \u0625\u0646\u0634\u0627\u0621 \u0645\u062e\u0637\u0637 \u0634\u0631\u064a\u0637\u064a \u0645\u0646 GroupBy - \u0627\u0644\u0625\u062d\u0635\u0627\u0626\u064a\u0627\u062a","description":"\u064a\u0634\u0631\u062d \u0647\u0630\u0627 \u0627\u0644\u0628\u0631\u0646\u0627\u0645\u062c \u0627\u0644\u062a\u0639\u0644\u064a\u0645\u064a \u0643\u064a\u0641\u064a\u0629 \u0625\u0646\u0634\u0627\u0621 \u0645\u062e\u0637\u0637 \u0634\u0631\u064a\u0637\u064a \u0645\u0646 \u062f\u0627\u0644\u0629 Pandas GroupBy\u060c \u0645\u0639 \u0645\u062b\u0627\u0644.","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\/ar\/\u0627\u0644\u0628\u0627\u0646\u062f\u0627-\u0645\u062c\u0645\u0648\u0639\u0629-\u0645\u0648\u0654\u0627\u0645\u0631\u0629-\u0634\u0631\u064a\u0637\/","og_locale":"az_AZ","og_type":"article","og_title":"\u0627\u0644\u0628\u0627\u0646\u062f\u0627: \u0643\u064a\u0641\u064a\u0629 \u0625\u0646\u0634\u0627\u0621 \u0645\u062e\u0637\u0637 \u0634\u0631\u064a\u0637\u064a \u0645\u0646 GroupBy - \u0627\u0644\u0625\u062d\u0635\u0627\u0626\u064a\u0627\u062a","og_description":"\u064a\u0634\u0631\u062d \u0647\u0630\u0627 \u0627\u0644\u0628\u0631\u0646\u0627\u0645\u062c \u0627\u0644\u062a\u0639\u0644\u064a\u0645\u064a \u0643\u064a\u0641\u064a\u0629 \u0625\u0646\u0634\u0627\u0621 \u0645\u062e\u0637\u0637 \u0634\u0631\u064a\u0637\u064a \u0645\u0646 \u062f\u0627\u0644\u0629 Pandas GroupBy\u060c \u0645\u0639 \u0645\u062b\u0627\u0644.","og_url":"https:\/\/statorials.org\/ar\/\u0627\u0644\u0628\u0627\u0646\u062f\u0627-\u0645\u062c\u0645\u0648\u0639\u0629-\u0645\u0648\u0654\u0627\u0645\u0631\u0629-\u0634\u0631\u064a\u0637\/","og_site_name":"Statorials","article_published_time":"2023-07-20T01:55:54+00:00","og_image":[{"url":"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/groupby_bar1.jpg"}],"author":"\u062f\u0643\u062a\u0648\u0631 \u0628\u0646\u064a\u0627\u0645\u064a\u0646 \u0623\u0646\u062f\u0631\u0633\u0648\u0646","twitter_card":"summary_large_image","twitter_misc":{"Written by":"\u062f\u0643\u062a\u0648\u0631 \u0628\u0646\u064a\u0627\u0645\u064a\u0646 \u0623\u0646\u062f\u0631\u0633\u0648\u0646","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/ar\/%d8%a7%d9%84%d8%a8%d8%a7%d9%86%d8%af%d8%a7-%d9%85%d8%ac%d9%85%d9%88%d8%b9%d8%a9-%d9%85%d9%88%d9%94%d8%a7%d9%85%d8%b1%d8%a9-%d8%b4%d8%b1%d9%8a%d8%b7\/","url":"https:\/\/statorials.org\/ar\/%d8%a7%d9%84%d8%a8%d8%a7%d9%86%d8%af%d8%a7-%d9%85%d8%ac%d9%85%d9%88%d8%b9%d8%a9-%d9%85%d9%88%d9%94%d8%a7%d9%85%d8%b1%d8%a9-%d8%b4%d8%b1%d9%8a%d8%b7\/","name":"\u0627\u0644\u0628\u0627\u0646\u062f\u0627: \u0643\u064a\u0641\u064a\u0629 \u0625\u0646\u0634\u0627\u0621 \u0645\u062e\u0637\u0637 \u0634\u0631\u064a\u0637\u064a \u0645\u0646 GroupBy - \u0627\u0644\u0625\u062d\u0635\u0627\u0626\u064a\u0627\u062a","isPartOf":{"@id":"https:\/\/statorials.org\/ar\/#website"},"datePublished":"2023-07-20T01:55:54+00:00","dateModified":"2023-07-20T01:55:54+00:00","author":{"@id":"https:\/\/statorials.org\/ar\/#\/schema\/person\/a0a26e65f97483429b863aae1a11e3b3"},"description":"\u064a\u0634\u0631\u062d \u0647\u0630\u0627 \u0627\u0644\u0628\u0631\u0646\u0627\u0645\u062c \u0627\u0644\u062a\u0639\u0644\u064a\u0645\u064a \u0643\u064a\u0641\u064a\u0629 \u0625\u0646\u0634\u0627\u0621 \u0645\u062e\u0637\u0637 \u0634\u0631\u064a\u0637\u064a \u0645\u0646 \u062f\u0627\u0644\u0629 Pandas GroupBy\u060c \u0645\u0639 \u0645\u062b\u0627\u0644.","breadcrumb":{"@id":"https:\/\/statorials.org\/ar\/%d8%a7%d9%84%d8%a8%d8%a7%d9%86%d8%af%d8%a7-%d9%85%d8%ac%d9%85%d9%88%d8%b9%d8%a9-%d9%85%d9%88%d9%94%d8%a7%d9%85%d8%b1%d8%a9-%d8%b4%d8%b1%d9%8a%d8%b7\/#breadcrumb"},"inLanguage":"azb","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/ar\/%d8%a7%d9%84%d8%a8%d8%a7%d9%86%d8%af%d8%a7-%d9%85%d8%ac%d9%85%d9%88%d8%b9%d8%a9-%d9%85%d9%88%d9%94%d8%a7%d9%85%d8%b1%d8%a9-%d8%b4%d8%b1%d9%8a%d8%b7\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/ar\/%d8%a7%d9%84%d8%a8%d8%a7%d9%86%d8%af%d8%a7-%d9%85%d8%ac%d9%85%d9%88%d8%b9%d8%a9-%d9%85%d9%88%d9%94%d8%a7%d9%85%d8%b1%d8%a9-%d8%b4%d8%b1%d9%8a%d8%b7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0628\u064a\u062a","item":"https:\/\/statorials.org\/ar\/"},{"@type":"ListItem","position":2,"name":"\u0627\u0644\u0628\u0627\u0646\u062f\u0627: \u0643\u064a\u0641\u064a\u0629 \u0625\u0646\u0634\u0627\u0621 \u0642\u0637\u0639\u0629 \u0623\u0631\u0636 \u0634\u0631\u064a\u0637\u064a\u0629 \u0645\u0646 groupby"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/ar\/#website","url":"https:\/\/statorials.org\/ar\/","name":"Statorials","description":"\u062f\u0644\u064a\u0644\u0643 \u0644\u0645\u062d\u0648 \u0627\u0644\u0623\u0645\u064a\u0629 \u0627\u0644\u0625\u062d\u0635\u0627\u0626\u064a\u0629!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/ar\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"azb"},{"@type":"Person","@id":"https:\/\/statorials.org\/ar\/#\/schema\/person\/a0a26e65f97483429b863aae1a11e3b3","name":"\u062f\u0643\u062a\u0648\u0631 \u0628\u0646\u064a\u0627\u0645\u064a\u0646 \u0623\u0646\u062f\u0631\u0633\u0648\u0646","image":{"@type":"ImageObject","inLanguage":"azb","@id":"https:\/\/statorials.org\/ar\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/ar\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/ar\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"\u062f\u0643\u062a\u0648\u0631 \u0628\u0646\u064a\u0627\u0645\u064a\u0646 \u0623\u0646\u062f\u0631\u0633\u0648\u0646"},"description":"\u0645\u0631\u062d\u0628\u064b\u0627\u060c \u0623\u0646\u0627 \u0628\u0646\u062c\u0627\u0645\u064a\u0646\u060c \u0623\u0633\u062a\u0627\u0630 \u0627\u0644\u0625\u062d\u0635\u0627\u0621 \u0627\u0644\u0645\u062a\u0642\u0627\u0639\u062f \u0627\u0644\u0630\u064a \u062a\u062d\u0648\u0644 \u0625\u0644\u0649 \u0645\u062f\u0631\u0633 \u0645\u062a\u062e\u0635\u0635 \u0641\u064a Statorials. \u0628\u0641\u0636\u0644 \u062e\u0628\u0631\u062a\u064a \u0627\u0644\u0648\u0627\u0633\u0639\u0629 \u0641\u064a \u0645\u062c\u0627\u0644 \u0627\u0644\u0625\u062d\u0635\u0627\u0621\u060c \u0641\u0623\u0646\u0627 \u062d\u0631\u064a\u0635 \u0639\u0644\u0649 \u0645\u0634\u0627\u0631\u0643\u0629 \u0645\u0639\u0631\u0641\u062a\u064a \u0644\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0637\u0644\u0627\u0628 \u0645\u0646 \u062e\u0644\u0627\u0644 Statorials. \u062a\u0639\u0631\u0641 \u0623\u0643\u062b\u0631","sameAs":["https:\/\/statorials.org\/ar"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/ar\/wp-json\/wp\/v2\/posts\/2923"}],"collection":[{"href":"https:\/\/statorials.org\/ar\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/ar\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/ar\/wp-json\/wp\/v2\/comments?post=2923"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/ar\/wp-json\/wp\/v2\/posts\/2923\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/ar\/wp-json\/wp\/v2\/media?parent=2923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/ar\/wp-json\/wp\/v2\/categories?post=2923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/ar\/wp-json\/wp\/v2\/tags?post=2923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}