How to add a column to pandas dataframe
Pandas allow for many methods for adding and dropping content. We have covered how to drop a column and how to drop a row...
Machine Learning NFL: My rule changes for punts
The NFL has created a competition in an attempt to reduce concussions on punt plays. Read more about the competition in my previous post....
Analyzing NFL Concussion data for Kaggle Data Science Competition
Recently, I entered the NFL Concussion on punt returns contest for data scientists. It wasn't the normal machine learning problem. In fact, it is...
How to drop rows in a pandas dataframe
A previous tutorial showed you how to drop columns in a pandas dataframe. Now we will look at how to drop rows in a...
How I got a Perfect Score on a Kaggle NLP with Disaster Tweets Competition
I love Kaggle. I love the competition and testing my skills against brilliant data scientists from around the world. Today I decided to get...
Feature Engineering: LabelEncoder sklearn example
A big part of machine learning is data cleanup and feature engineering. A good tool in your data science toolkit will be label encoding....
Machine Learning: How to pull Google Sheets data into Colabs
If you are using Google Colabs it would make sense to want to pull in a CSV file for a machine learning project. It...
How to run notebook in Google Cloud for Machine Learning
Step one: Go to Google Cloud Platform and create a Project.
Step two: Click Activate Cloud Shell
Step three: In the console you will want to...
How to make the first row in your spreadsheet or dataframe the header in...
If you have imported a CSV file into your notebook and use Pandas to view the dataframe you might find that the header of...
How to fail and still succeed – a little data science fun
This past week has been brutal on my sinuses. And being that I'm the type who has to find some science in nearly everything....













