IncludeGroupAggregates

IncludeGroupAggregates

PivotTableのオプションで,グループの集計を行と列に加えるかどうかを指定する.

詳細

  • デフォルト設定のIncludeGroupAggregatesFalseのとき,集約の要約は含まれない.
  • IncludeGroupAggregatesTrueの設定のとき,PivotTableは,行と列のグループの集計情報を含むキーAllまたはExtendedKey[,All]の追加的な行と列があるTabularオブジェクトを返す.

例題

すべて開くすべて閉じる

  (1)

4つの列がある表形式データを取る:

"survived" 列は無視して,"sex"列と"class"列についての平均年齢を計算する:

各列と各行について,グループの集計を含める:

スコープ  (1)

タイタニック号の生存率を表すピボット表を作成する:

デフォルトで,PivotTableはグループの要約は加えない:

キーAllの行と列があるグループの要約を表示する:

Wolfram Research (2025), IncludeGroupAggregates, Wolfram言語関数, https://reference.wolfram.com/language/ref/IncludeGroupAggregates.html.

テキスト

Wolfram Research (2025), IncludeGroupAggregates, Wolfram言語関数, https://reference.wolfram.com/language/ref/IncludeGroupAggregates.html.

CMS

Wolfram Language. 2025. "IncludeGroupAggregates." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/IncludeGroupAggregates.html.

APA

Wolfram Language. (2025). IncludeGroupAggregates. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/IncludeGroupAggregates.html

BibTeX

@misc{reference.wolfram_2024_includegroupaggregates, author="Wolfram Research", title="{IncludeGroupAggregates}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/IncludeGroupAggregates.html}", note=[Accessed: 15-January-2025 ]}

BibLaTeX

@online{reference.wolfram_2024_includegroupaggregates, organization={Wolfram Research}, title={IncludeGroupAggregates}, year={2025}, url={https://reference.wolfram.com/language/ref/IncludeGroupAggregates.html}, note=[Accessed: 15-January-2025 ]}