Data behind the Luck, Ambition, and a Billion-Dollar Dream: Lottery

Going through Seattle’s local retail store data for consumer patterns of the lottery (with SQL, Python)

Lottery sales trend from a local retail store

If you are not a paid member on Medium, I make my stories available for free: Friends link

Today’s article takes a slight detour from my usual data-science-focused pieces, but don’t worry — it won’t deviate too much (hopefully it provides you with an interesting analysis and insights as well)!

Today, I’ll be talking about a topic that probably everyone has talked about at some point in their life — be it jokingly with friends or as a serious daydream. What is it, you ask?

The Lottery

As most of you may know… the lottery has been a symbol of luck and ambition for decades. How many times have you heard someone say, “This is my life-changing ticket,” or “If I win, I’m going to quit my job and travel the world”?

Even if gambling isn’t your thing — and for most people, it’s not — a lucky golden ticket and a life-changing jackpot have a way of drawing people in.

Now, I’ll admit, I’m not one to gamble. Spending hard-earned money on something…