“I fear not the man who has practiced 10,000 kicks once, but I fear the man who has practiced the same kick 10,000 times” “Compound interest is the eighth wonder of the world. He who understands it, earns it; he who doesn’t, pays it” “Work every day. No matter what has happened the day or night before, get up and bite on the nail.” Consistent action is fundamental to accomplishment. Whatever you want in life, focus on the behavior of getting there instead of the…Continue Reading “Work on What Matters”
With A/B testing there are times when you have to remove data from your dataset due to issues that skew your results. Pandas df.drop is pretty well covered but I had a hard time finding out how to drop multiple rows based on multiple values. Below is a walk through of how I approached that problem. A preview of my dataframe print(test_data.shape) (84, 9) So I have to remove two specific days that is only on our mobile traffic. First I created a new dataframe…Continue Reading “Removing multiple rows from your data with Python”
My most re-used Python code for A/B testing Import the things you need from matplotlib import pyplot as plt import pandas as pd import numpy as np from scipy import norm, stats, binom, mannwhitneyu There are a few ways the data could be set up. Step 1 is viewing the data you have, using the dataframe name like test_data or the .head() method. test_data.head() will give you something like the below: Once you have the test data you want to make sure the split was accurate. To do…Continue Reading “A/B Testing with Python”
With everything happening in the world right now I’ve been thinking a lot about two things: Why do people believe and think what they do? How do you change someone’s mind? So I started watching street epistemology videos and just finished the book The Catalyst as my starting point. The first video I saw on street epistemology was this video. Ty does an incredible job just being curious and never comes off as better/smarter than who he talks with. His breakdown videos are great too…Continue Reading “How to Change People’s Minds”
The most Nobel of Prizes The Nobel Prize is perhaps the world’s most well known scientific award. Except for the honor, prestige and substantial prize money the recipient also gets a gold medal showing Alfred Nobel (1833 – 1896) who established the prize. Every year it’s given to scientists and scholars in the categories chemistry, literature, physics, physiology or medicine, economics, and peace. The first Nobel Prize was handed out in 1901, and at that time the Prize was very Eurocentric and male-focused, but nowadays…Continue Reading “A Visual History of Nobel Prize Winners”
Looking at another project that interested me from DataCamp. Bitcoin. Cryptocurrencies. So hot right now. Since the launch of Bitcoin in 2008, hundreds of similar projects based on the blockchain technology have emerged. We call these cryptocurrencies (also coins or cryptos in the Internet slang). Some are extremely valuable nowadays, and others may have the potential to become extremely valuable in the future1. In fact, on the 6th of December of 2017, Bitcoin has a market capitalization above $200 billion. The astonishing increase of Bitcoin market capitalization in…Continue Reading “Exploring Bitcoin”
In trying to learn Python I came across this project and data set from DataCamp. To me, this is my much preferred learning approach than just coding random things since it has real world application. Cookie Cats is a mobile puzzle game developed by Tactile Entertainment. It’s a classic “connect three”-style puzzle game where the player must connect tiles of the same color to clear the board and win the level. As players progress through the levels of the game, they will occasionally encounter gates that force…Continue Reading “Python & A/B Testing Apps”