STAP 2: Laad CSV als dataframes
Klik met de rechtermuisknop op het bestand dat je wilt importeren en klik "query with sql"
0
adidas
Sitelinks, Local pack, Knowledge panel, Image pack, Thumbnail
1
yeezy
Sitelinks, Image pack, Local teaser, Thumbnail
2
adidas sneakers
Sitelinks, Local teaser, People also ask, Image pack, Thumbnail
3
adidas trainingspak
Thumbnail, Sitelinks, Image pack
4
adidas slippers
Thumbnail, Sitelinks, Image pack
5
adidas schoenen
Shopping results, Thumbnail, Sitelinks, Local teaser, Image pack
6
adidas sneakers dames
Thumbnail, Sitelinks, Image pack
7
adidas trainingsbroek
Sitelinks, Image pack
8
adidas voetbalschoenen
Thumbnail, Sitelinks, Local teaser, Image pack
9
adidas forum low
Sitelinks, Image pack, People also ask, Thumbnail
0
nike
Sitelinks, Local pack, Knowledge panel, Thumbnail, Image pack
1
nike schoenen
Sitelinks, Local teaser, Image pack, Thumbnail
2
nike tech
Sitelinks, Image pack, Top stories, Video, Thumbnail
3
jordans
Sitelinks, People also ask, Image pack, Local teaser, Thumbnail
4
nike air max
Thumbnail, Sitelinks, Image pack
5
nike air force 1
Thumbnail, Sitelinks, People also ask, Shopping results, Image pack
6
nike jordan
Thumbnail, Sitelinks, Image pack, Local teaser
7
air max 1 nike
Sitelinks, People also ask, Image pack, Local teaser, Thumbnail
8
nike air max 1
Sitelinks, Image pack, Thumbnail
9
nike air max 90
Sitelinks, Image pack, Thumbnail
STAP 3: Union All - a.k.a Merge
Een union all werkt zo lang de geladen tabellen (df_2 en df_1) exact dezelfde kolommen hebben.
0
nike
Sitelinks, Local pack, Knowledge panel, Thumbnail, Image pack
1
nike schoenen
Sitelinks, Local teaser, Image pack, Thumbnail
2
nike tech
Sitelinks, Image pack, Top stories, Video, Thumbnail
3
jordans
Sitelinks, People also ask, Image pack, Local teaser, Thumbnail
4
nike air max
Thumbnail, Sitelinks, Image pack
5
nike air force 1
Thumbnail, Sitelinks, People also ask, Shopping results, Image pack
6
nike jordan
Thumbnail, Sitelinks, Image pack, Local teaser
7
air max 1 nike
Sitelinks, People also ask, Image pack, Local teaser, Thumbnail
8
nike air max 1
Sitelinks, Image pack, Thumbnail
9
nike air max 90
Sitelinks, Image pack, Thumbnail
STAP 4: Filter de tabel
Nu verwijderen we duplicate keyword data. Dat is wat het woordje DISTINCT doet voor de kolomnaam Keyword. Dan wordt op basis van deze kolom de duplicates gefilterd. Ook passen we de benamingen aan zodat het ons eigen lower case format gebruikt. De kolom current url wordt aangepast naar current_url zodat het op de SQL manier is geschreven.
0
grote maten broeken
200
1
hoodie dames goedkoop
100
2
waterschoen maat 21
300
3
ajax account verifieren
100
4
zwemmuts
400
5
hockeyschoenen meisjes sale
30
6
mini voetballen
40
7
jerseys
150
8
dames sportleggings
100
9
wandelschoenen dames lichtgewicht
100
STAP 5: Categoriseer
0
1 op 1 schoenen
100
1
1 op 1 schoenen
100
2
1 top
450
3
10 5 schoenmaat
80
4
10.5 schoenmaat
80
5
100 katoenen broek dames
70
6
100 procent katoen t shirts
50
7
100 procent katoen t shirts dames
200
8
100 procent katoen t-shirts dames
90
9
100 voetbal trainingspakken
70
STAP 6: Visualiseer
Stap 7: Exporteer
0
1 op 1 schoenen
100
1
1 op 1 schoenen
100
2
1 top
450
3
10 5 schoenmaat
80
4
10.5 schoenmaat
80
5
100 katoenen broek dames
70
6
100 procent katoen t shirts
50
7
100 procent katoen t shirts dames
200
8
100 procent katoen t-shirts dames
90
9
100 voetbal trainingspakken
70