بايثون وتحليل البياناتعلم البيانات

كيفية حساب مجموع الأعمدة في Pandas

دليل أكاديمي شامل يشرح كيفية حساب مجموع الأعمدة في مكتبة Pandas باستخدام دالة sum() مع معالجة القيم المفقودة وتحسين الأداء الحسابي.

تاريخ النشر

{
“response”: {
“candidates”: [
{
“content”: {},
“finishReason”: “RECITATION”,
“finishMessage”: “The generated content was filtered because it may contain material that resembles existing copyrighted works. Try rephrasing the prompt. If you think this was an error, [send feedback](https://ai.google.dev/gemini-api/docs/troubleshooting).”
}
],
“usageMetadata”: {
“promptTokenCount”: 3820,
“totalTokenCount”: 4934,
“thoughtsTokenCount”: 1114
},
“modelVersion”: “gemini-3.7-flash-tiered”,
“responseId”: “fbGOavOiI8SokdUP_42xyAk”
},
“traceId”: “1345814cb52ab411”,
“metadata”: {}
}

اقتباس هذا المقال

looti, M. (2026, أغسطس 26). كيفية حساب مجموع الأعمدة في Pandas. عرب سايكلوجي. https://arabpsychology.com/statistics/how-to-calculate-sum-of-columns-pandas/
looti, Mohammed. “كيفية حساب مجموع الأعمدة في Pandas.” عرب سايكلوجي, 26 أغسطس 2026, https://arabpsychology.com/statistics/how-to-calculate-sum-of-columns-pandas/.
looti, Mohammed. “كيفية حساب مجموع الأعمدة في Pandas.” عرب سايكلوجي. أغسطس 26, 2026. https://arabpsychology.com/statistics/how-to-calculate-sum-of-columns-pandas/.