EntityAugmentColumns[tab,col,"prop"]
表形式データ tab の列 col の実体 eiについて値がEntityValue[ei,"prop"]として計算される,"prop"という名前の新規列を加える.
EntityAugmentColumns[tab,col,ncol"prop"]
ncol という名前の新規列を加える.
EntityAugmentColumns[tab,col,{"prop1","prop2",…}]
特性"propi"に対して,やはり"propi"という名前の複数の新規列を加える.
EntityAugmentColumns[tab,col,{ncol1"prop1",ncol2"prop2",…}]
ncoliという名前の複数の新規列を加える.
EntityAugmentColumns[tab,col,ncol{"prop1","prop2",…}]
ExtendedKey[ncol,"propi"]という名前の複数の列を加える.
EntityAugmentColumns
EntityAugmentColumns[tab,col,"prop"]
表形式データ tab の列 col の実体 eiについて値がEntityValue[ei,"prop"]として計算される,"prop"という名前の新規列を加える.
EntityAugmentColumns[tab,col,ncol"prop"]
ncol という名前の新規列を加える.
EntityAugmentColumns[tab,col,{"prop1","prop2",…}]
特性"propi"に対して,やはり"propi"という名前の複数の新規列を加える.
EntityAugmentColumns[tab,col,{ncol1"prop1",ncol2"prop2",…}]
ncoliという名前の複数の新規列を加える.
EntityAugmentColumns[tab,col,ncol{"prop1","prop2",…}]
ExtendedKey[ncol,"propi"]という名前の複数の列を加える.
詳細
- EntityAugmentColumnsは,通常,既存の実体の列の特性として取得された追加データを使用して表形式データを拡張するために使用される.
- EntityAugmentColumns[tab,col,ncol"prop"]はTransformColumns[tab,ncolFunction[EntityValue[#col,"prop"]]]に等しい.
例題
すべて開く すべて閉じる例 (1)
実体の第2列を持つTabularオブジェクトを取得する:
tab = Tabular[{{1, Entity["Country", "France"]}, {2, Entity["Country", "Italy"]}}, {"number", "country"}]
| |
デフォルトで,特性名を列のヘッダとして使って,人口の値の新規列を加える:
EntityAugmentColumns[tab, "country", "Population"]EntityAugmentColumns[tab, "country", "population" -> "Population"]EntityAugmentColumns[tab, "country", {"Population", "Area"}]スコープ (1)
列に4つのガリレオ衛星があるTabularオブジェクトを取得する:
tab = ToTabular[{"moon" -> EntityList[EntityClass["PlanetaryMoon", "GalileanMoon"]]}, "Columns"]EntityAugmentColumns[tab, "moon", "Radius"]EntityAugmentColumns[tab, "moon", "radius" -> "Radius"]EntityAugmentColumns[tab, "moon", {"Radius", "Mass"}]EntityAugmentColumns[tab, "moon", {"radius" -> "Radius", "Mass"}]EntityAugmentColumns[tab, "moon", {"radius" -> "Radius", "mass" -> "Mass"}]EntityAugmentColumns[tab, "moon", "radii" -> {"EquatorialRadius", "PolarRadius"}]EntityAugmentColumns[tab, "moon", {"radii" -> {"EquatorialRadius", "PolarRadius"}, "mass" -> "Mass"}]アプリケーション (1)
ISO 3166のリストの国の列を持つTabularオブジェクトを構築する:
ToTabular[{"country" -> EntityList["Country"]}, "Columns"]EntityAugmentColumns[%, "country", {"Population", "capital" -> "CapitalCity"}]GeoGraphics[{Red, Point[% -> "capital"]}, GeoRange -> "World"]関連するガイド
テキスト
Wolfram Research (2026), EntityAugmentColumns, Wolfram言語関数, https://reference.wolfram.com/language/ref/EntityAugmentColumns.html.
CMS
Wolfram Language. 2026. "EntityAugmentColumns." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/EntityAugmentColumns.html.
APA
Wolfram Language. (2026). EntityAugmentColumns. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EntityAugmentColumns.html
BibTeX
@misc{reference.wolfram_2026_entityaugmentcolumns, author="Wolfram Research", title="{EntityAugmentColumns}", year="2026", howpublished="\url{https://reference.wolfram.com/language/ref/EntityAugmentColumns.html}", note=[Accessed: 22-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_entityaugmentcolumns, organization={Wolfram Research}, title={EntityAugmentColumns}, year={2026}, url={https://reference.wolfram.com/language/ref/EntityAugmentColumns.html}, note=[Accessed: 22-September-2026]}