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 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 create Python class variables
Python is an incredibly powerful language. Learning how to create Python class variables is part of developing an object-oriented programming method. Creating individual objects...
How to remove or delete /category/ from WordPress URL
Sometimes you install a theme on Wordpress and end up with the annoying /category/ in your url. There are two ways to get ride...
R Programming: Example of how to write a function in R
What is a function? A function allows you to create a program that has a set of instructions that you use repeatedly or contains...
How to import data into Python to run Machine Learning projects
One of the most important aspects of running any machine learning program is the ability to pull in data from various sources and of...
Histogram in R: How to example using NFL QB data
A histogram in R is very useful to use when you want to see more detail on all of the data within your data...
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...
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,...
Solved: Error: could not find function “cast”
If you've been trying to cast in R and have run into the following error:
Error: could not find function "cast"
Then here is the solution....











