Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Exploratory Hour 行を結合する&列の値を分割する
Search
Takato Shiroto
August 28, 2019
Programming
0
280
Exploratory Hour 行を結合する&列の値を分割する
Takato Shiroto
August 28, 2019
Tweet
Share
More Decks by Takato Shiroto
See All by Takato Shiroto
Exploratory v6.7の紹介
takatoshiroto
0
900
Exploratory v6.6の紹介
takatoshiroto
0
1.6k
Exploratory v6.5の紹介
takatoshiroto
0
5.1k
コンバージョン率と信頼区間の推移を可視化する方法
takatoshiroto
1
300
Exploratory Hour #104 - 別の列の値をもとに、カテゴリー列の値の順序を指定したい
takatoshiroto
0
170
Exploratory Hour #105 - 元のデータ順をもとに、カテゴリー列の値の順序を指定したい
takatoshiroto
1
230
Exploratory Hour #102 - complete関数を使って2つの時間の間の値を生成したい
takatoshiroto
0
99
Exploratory Hour #103 - 仕事の開始・終了時間データから、どの時間に何人働いているか知りたい
takatoshiroto
0
97
Exploratory v6.4の紹介
takatoshiroto
0
5.8k
Other Decks in Programming
See All in Programming
EMになってからチームの成果を最大化するために取り組んだこと/ Maximize team performance as EM
nashiusagi
0
100
距離関数を極める! / SESSIONS 2024
gam0022
0
310
Amazon Qを使ってIaCを触ろう!
maruto
0
420
ActiveSupport::Notifications supporting instrumentation of Rails apps with OpenTelemetry
ymtdzzz
1
260
イマのCSSでできる インタラクション最前線 + CSS最新情報
clockmaker
5
3k
Welcome JSConf.jp 2024
yosuke_furukawa
PRO
0
320
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
1.1k
「今のプロジェクトいろいろ大変なんですよ、app/services とかもあって……」/After Kaigi on Rails 2024 LT Night
junk0612
5
2.2k
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
1.3k
Laravel や Symfony で手っ取り早く OpenAPI のドキュメントを作成する
azuki
2
130
광고 소재 심사 과정에 AI를 도입하여 광고 서비스 생산성 향상시키기
kakao
PRO
0
180
Flutterを言い訳にしない!アプリの使い心地改善テクニック5選🔥
kno3a87
1
220
Featured
See All Featured
Writing Fast Ruby
sferik
627
61k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
The Pragmatic Product Professional
lauravandoore
31
6.3k
Making the Leap to Tech Lead
cromwellryan
133
8.9k
Bash Introduction
62gerente
608
210k
Unsuck your backbone
ammeep
668
57k
Teambox: Starting and Learning
jrom
133
8.8k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
16
2.1k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
10 Git Anti Patterns You Should be Aware of
lemiorhan
655
59k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
910
Transcript
w ҟͳΔσʔλϑϨʔϜʹ͋ΔߦΛՃ͢Δ w ྻͷΛׂͯ͠ෳͷྻΛ࡞Γ͍ͨ Exploratory Hour
EXPLORATORY 2
3 εϐʔΧʔ നށ ܟొ Customer Succes EXPLORATORY ུྺ େֶࡏֶதʹϑʔυϩεΛݮΒͨ͢ΊʹɺֶੜஂମΛ্ཱͪ͛දΛ ΊΔɻͦͷޙɺϏδωεΛΔͨΊʹԽֶϝʔΧʔͷσϡϙϯͱ
ϑʔυςοΫܥελʔτΞοϓͰӦۀͱϚʔέςΟϯάΛܦݧɻΞϓ ϦͷͷͨΊʹσʔλαΠΤϯε͕ඞཁͩͱײ͡ɺΞϓϦʹಛԽ ͨ͠ϢʔβʔͷߦಈੳπʔϧΛ։ൃ͢ΔاۀʹͯɺΞϓϦۀքͷ KPIੳͳͲΛ୲͢ΔɻݱࡏExploratory, Inc. ͰΧελϚʔαΫη εΛ୲͢ΔΒɺσʔλͷՄࢹԽͱ୳ࡧతσʔλੳΛઐͱͯ͠ σʔλαΠΤϯεͷීٴʹऔΓΉɻ @ShirotoTakato
None
w ݄ͷσʔλʹ݄ͷσʔλΛߦͱͯ͠Ճ͍ͨ͠ w ྻͷΛׂͯ͠ෳͷྻΛ࡞Γ͍ͨ ࠓिͷ࣭
7݄ͷσʔλʹ8݄ͷσʔλΛߦͱͯ͠ Ճ͍ͨ͠ Question 1
Ϛʔδ (Merge)
1. ߦΛՃ (bind_rows) 2. ू߹ (union) 3. ੵू߹ (intersect) 4.
ࠩू߹ (setdiff) Ϛʔδ (Merge)
Name Sales Thomas 15 James 100 Mike 20 Name Sales
Mike 20 Paul 95 Susan 30 σʔλϑϨʔϜ1 Ϛʔδ (Merge) σʔλϑϨʔϜ̎
σʔλϑϨʔϜ1 Ϛʔδ (Merge) σʔλϑϨʔϜ̎ Name Sales Thomas 15 James 100
Mike 20 Name Sales Mike 20 Paul 95 Susan 30 Mike͕ॏෳ͍ͯ͠Δ
1. ߦΛՃ (bind_rows) 2. ू߹ (union) 3. ੵू߹ (intersect) 4.
ࠩू߹ (setdiff) Ϛʔδ (Merge)
ҟͳΔσʔλϑϨʔϜʹ͋ΔσʔλΛ શͯͷߦ(ॏෳՄ)ͰϚʔδ͢Δɻ ߦΛՃ/bind_rows
ߦΛՃ/bind_rows(શͯͷߦΛ݁߹) Name Sales Thomas 15 James 100 Mike 20 Name
Sales Mike 20 Paul 95 Susan 30 σʔλϑϨʔϜ1 σʔλϑϨʔϜ̎ Name Sales Thomas 15 James 100 Mike 20 Mike 20 Paul 95 Susan 30 Mikeॏෳ͍ͯ͠Δ͕ɺbind_rows Ͱશͯͷߦ͕Ճ͞ΕΔ
1. ߦΛՃ (bind_rows) 2. ू߹ (union) 3. ੵू߹ (intersect) 4.
ࠩू߹ (setdiff) Ϛʔδ (Merge)
ू߹/Union ҟͳΔσʔλϑϨʔϜʹ͋ΔσʔλΛ ॏෳແ͠ͰϚʔδ͢Δɻ
Name Sales Thomas 15 James 100 Mike 20 ू߹/union(Ұҙͷߦ͚ͩΛ݁߹) Name
Sales Thomas 15 James 100 Mike 20 Name Sales Mike 20 Paul 95 Susan 30 σʔλϑϨʔϜ1 σʔλϑϨʔϜ̎ Mike͕ॏෳ͍ͯ͠ΔͨΊɺunionͰ ϚʔδઌͷॏෳΛআ֎͢Δɻ Paul 95 Susan 30
1. ߦΛՃ (bind_rows) 2. ू߹ (union) 3. ੵू߹ (intersect) 4.
ࠩू߹ (setdiff) Ϛʔδ (Merge)
ੵू߹/intersect ҟͳΔσʔλϑϨʔϜʹ͋ΔσʔλΛ ڞ௨͢Δ෦͚ͩϚʔδ͢Δɻ
ੵू߹/intersect(ڞ௨͢ΔߦͷΈநग़) Name Sales Thomas 15 James 100 Mike 20 Name
Sales Mike 20 Paul 95 Susan 30 σʔλϑϨʔϜ1 σʔλϑϨʔϜ̎ Name Sales Mike 20 Mike 20 Mike͕ॏෳ͍ͯ͠ΔͨΊɺ intersectͰMikeͷΈ͕Δɻ
1. ߦΛՃ (bind_rows) 2. ू߹ (union) 3. ੵू߹ (intersect) 4.
ࠩू߹ (setdiff) Ϛʔδ (Merge)
ࠩू߹/Setdiff ҟͳΔσʔλϑϨʔϜʹ͋ΔσʔλΛ ڞ௨͠ͳ͍෦͚ͩϚʔδ͢Δɻ
Name Sales Thomas 15 James 100 ࠩू߹/setfdiff(ڞ௨͠ͳ͍ߦͷΈநग़) Name Sales Thomas
15 James 100 Mike 20 Name Sales Mike 20 Paul 95 Susan 30 σʔλϑϨʔϜ1 σʔλϑϨʔϜ̎ Mike͕ॏෳ͍ͯ͠ΔͨΊɺsetdiff ͰMikeআ֎͞ΕΔɻ Paul 95 Susan 30
Ϛʔδ/ߦ݁߹ • σʔλϑϨʔϜ໊Λอ࣋͢Δ(શͯͷߦΛ݁߹ͷΈ) • σʔλɾλΠϓΛڧ੍తʹἧ͑Δ
ྻͷΛׂͯ͠ෳͷྻΛ࡞Γ͍ͨ Question 2
ׂ εϖʔε۠Γ
ׂ ίϯϚ(,)۠Γ
Q&A
Contact Email
[email protected]
Twitter Hashtag #ExploratoryHour ͰπΠʔτʂ Twitter @ExploratoryJp Exploratory
Hour https://bit.ly/30odd9q
None