How to Import Data as CSV into R
There are a few different ways to import data into R. We will cover two ways in this post, downloading a file from the...
How to use Cohort Analysis in Google Analytics
What is a cohort? And why do you want to analyze them?
Google Analytics defines a cohort as a group of people who share a...
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...
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...
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...
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...
What is probability mass function?
Probability mass function is recognized as a probability that is distributed over discrete variables.
First, probability mass function is always denoted with the capital P.
Second,...
What is the Python sorted function? An example of how to use it.
The Python sort function is very straight-forward. The easiest way to think about this is the various ways you can sort files on your...
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 Get, Set or Change your working directory in R
If you are just starting out in R it'll be important to know how to determine your working directory or how to find the...














