How to return or print multiple variables in Python
We have discussed ways to handle variables and the best practices for naming variables in Python. We have noticed a number of searches on...
Learn how to use lapply in R
The lapply function in R applies a function to elements in a list or a vector and returns the results in a list.
lapply(list,...
How to setup a WordPress Google sitemap plugin
I have quite a few Wordpress sites running Google XML Sitemaps. It works well and is pretty much hassle free. I've been running it...
How to get a bitcoin wallet
After how to get bitcoin, the most often asked question is how to get a bitcoin wallet.
New bitcoin wallets are being released all of...
CSS vs. CSS3: What is the difference between CSS and CSS3
The first thing you need to know is that CSS3 is the latest standard for CSS. And, CSS3 is backwards-compatible with earlier versions of...
How to: A simple Python Function example
Functions in Python can be simple or extraordinarily complex. This will teach you how to write a simple Python Function example. From there you...
Best Practices for Google UTM campaign tracking code
So you want to run ads on Facebook, emails or banner ads and track how they convert and what your ROI is for these...
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...
Error: Cannot change working directory in R Studio
I had initially set it to be setwd(“Users/myname/datascience”)
make sure you have the initial / so it is this:
setwd("/Users/charliecraine/datascience")
another method is that under the Files...
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....












