Free Trial

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #205: Taynalysis

Ed2000
8 - Asteroid
Spoiler
Ed2000_0-1675767681018.png

 

longyanChen
8 - Asteroid

hi

Dani_Lin
8 - Asteroid

solved

gaoa
11 - Bolide

This is a fun challenge and I learned many new features of tools! 😉 NOTES in Spoiler below. 💡

Spoiler
gaoa_2-1676136116460.png
Spoiler
1) Lowercase and ReplaceCharacter formula: lowercase(replacechar([lyric],'",.:;?!()',"")): I used Data Cleansing tool at first to remove leading whitespace, punctuation and modify upper case but did not work exactly as expected. I assume the discrepancy is from single quote punctuation getting removed by Data Cleansing tool but not by formula.
2) Text to Column: learned using Delimiter \s to represent space and split to rows. I used Reg Ex to tokenize entire words to rows but as a result some abbreviated words containing single quotes, such as "that's", ended up splitting into two words, "that" and "s". So when counting the top words the result included single letter words like "s", "ll", etc.
3) Summarize: count distinct - useful when counting unique values. The Unique tool returned a different result.
4) Join: left: lyric and right stop_words: this is so smart because the left output shows all lyrics without stop words which is what we want and can proceed to next steps, joined output shows lyrics matching stop words and right output shows stop words "leftovers" that don't match any lyric so these are the data we don't need.
5) Again: Sort -- two sorting orders and using dictionary order; Sample -- first n rows and grouping by column; Summarize -- concatenate string. add space in concat_string -- replacechar([Concat_lyric],","," ").  

 

akorte1
8 - Asteroid

Done

Heinrich_Preuß
8 - Asteroid
Spoiler
Heinrich_Preu_0-1676567148600.png

 

Shahbaz_analyst
8 - Asteroid
Spoiler
Shahbaz_analyst_0-1677166211904.png

 

ed_hayter
12 - Quasar
Spoiler
ed_hayter_0-1677746382564.png

 

RobbieA
8 - Asteroid

My solution to 205:

kristiadiuisan
8 - Asteroid

Just want to make sure Taylor Swift picture is in the workflow screenshot :)

Spoiler
Alteryx_challenge_205_KU.png