Icon

JKISeason3-26

<p><strong><br>Rare Ingredients in Pizza Toppings</strong></p><p><strong>Challenge 26</strong></p><p><br><strong>Level: </strong>Easy<br><br><strong>Description: </strong>This week we propose a delicious (and, for some people, scary!) challenge: find the most uncommon pizza toppings. Given a dataset containing pizza options from several restaurants, along with their prices and ingredient lists, your task is to find the ingredients that are most rarely used -- i.e. the ones that appear the least in the ingredient lists. Go a step further if you will and extract the rarest ingredient pairs as well. <em>Buon appetito!</em></p><p></p><p>説明 今週はおいしい(そして人によっては怖い!)チャレンジを提案する。 いくつかのレストランのピザのオプションと、その値段と成分表を含むデータセットが与えられたら、あなたの仕事は、最もめったに使われない成分、つまり成分表に最も少なく出てくる成分を見つけることである。 さらに一歩進んで、最もレアな食材のペアも抽出しよう。 ごちそうさまでした!</p>

方針

1食材と全部の組み合わせで分岐する。
リスト化、ungroup、groupbyを多用してカウントしソーティングすることで数を確認できるようにする。

なおお店と価格は一切考慮しない。

区切り文字 | でよみこむ
CSV Reader
一旦リストにする
Cell Splitter
縦に並べる
Ungroup
ユニークカウントする
GroupBy
ユニークカウントする
GroupBy
セットに変換しつつ並びを調整する
List To Set
縦に並べる
Ungroup
数値部分を抽出する
Expression
),で割る
Cell Splitter
ソート
Sorter
リストにする
Cell Splitter
縦に並べる
Ungroup
(で割る
Cell Splitter
ソート
Sorter
可視化

Nodes

Extensions

Links