We've recently made an accessibility improvement to the community and therefore posts without any content are no longer allowed. Please use the spoiler feature or add a short message in the message body in order to submit your weekly challenge.

Weekly Challenge

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

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

We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!

Submit Feedback

Challenge #279: How many Olympic Games per Continent?

hayleematecko
6 - Meteoroid

Love the Olympics theme!

ellen-wiegand
Alteryx
Alteryx

There is an error in the "official" solution - there have only been 29 summer games including Tokyo; 32 if you include upcoming LA, Paris, and Sydney games. There have only been 23 winter games thus far. You have to be sure to 

Spoiler
get rid of duplicate year rows



Screenshot 2021-08-03 151906.png

ywang7
7 - Meteor
Spoiler
ywang7_0-1628023068356.png

 

aluthra
8 - Asteroid

 

Spoiler
aluthra_0-1628075742734.png

 

Solved using trim, replace char and Find and replace

 

AmirSems_charter
7 - Meteor
Spoiler
nothing to see here very simplenothing to see here very simple



AmirSems_charter
7 - Meteor

was easier to do in pandas than in Alteryx lol

SimonEvans
8 - Asteroid

Used a combination of regex and data cleanse to get the non trim solution!

 

Spoiler
 

Weekly Challenge 279.PNG

 

nickkw
5 - Atom

Here is my solution with trim and without trim

AmirSems_charter
7 - Meteor

Python tool : My Alternative uses a groupby to sum up the colums and then makes a totals column from that sumation

 

Spoiler
python_chall.PNG
alexnajm
8 - Asteroid

Completed!

Spoiler
challenge_279_start_file_Alex Abi-Najm.PNG