Image for post
Image for post

Welcome back! Let’s go ahead and talk about some of my favorite projects to start off with when using Python. There are probably better / easier projects out there, but this is my article so I get to choose what goes on here ☺️ Luckily for you every project I talk about in this article i’ve already coded out and written articles on, so i’ll leave those linked within the posts as well! Let’s get started!

1. Scraping Google Trends data

Image for post
Image for post

Welcome back! iPhone apps have been such a growing industry, but you maybe asking yourself: Where do I start? What languages should I use? Let’s me go ahead and give a high level overview of how to make an iPhone app. Keep in mind that this is a very basic overview, i’ll be making other coding based tutorials later about this, but by the end of this you should have a good understanding of what is needed to make an iPhone app ☺️

Welcome back! A very common thing to do with Python for any project is changing the working directory. Changing the directory is very easy to do, there are only 3 requirements to change the directory:

1: The directory exists (the folder or file your linking to must exist)

2. You have access to the folder

3. You input the file directory right

Let’s get started! First off, to change the working directory it’s as easy as:

import os

We want to import OS (which comes built into Python), we then use the os.chdir command to change the directory, finally…

Image for post
Image for post

Sometimes you may run into issues when importing files into Python, specifically Excel files, so let’s go ahead and fix some common import issues with Python & Excel!

File / path issues

One of the most common issues that I see when importing Excel files is using the wrong file path. This is a very common issue, you won’t be able to read in the data if you’re not pointing in the right direction, this is the very first place I would recommend looking at inside of your code. …

Google Trends is a great tool for market research, finding out what people are searching for can be super beneficial to you, so let’s go ahead and scrape some data from Google Trends!

Basic introduction you could probably skip that I copied from my other article

First things first, we will need to have Python installed, read my article here to make sure you have Python and some IDE installed.

Image for post
Image for post

One of my most popular articles i’ve made was about pulling data on TikTok. I love TikTok and that platform holds a lot of value, both in a content and data perspective, so let’s pull some data from this platform!


(I copied this from my article since it’s still the same process) Now we will be installing the tiktok-scraper file from this github link, I would recommend looking through that documentation to get a good understanding of what we’re going to be doing in this little project as well as full installation instructions. Now after that we want to make…

Image for post
Image for post

Exporting data with R is one of the most important things you can possibly do with this language, let’s go ahead and show you how to do this!

Exporting .XLSX Files

In order to export a .XLSX file from R we need to use the xlsx package, we do by importing this package like this:


Next up we want to make sure you already have a dataset loaded in, let’s say we have our dataset stored in a variable called “df” like below

df <- c(1,2,3,4,5,6)

Next up, if we would want to export this data frame into a .XLSX file we…

Image for post
Image for post

So far on my Medium article journey I have hit a milestone that has me contemplating retiring, I finally hit 100 views on a single article on Medium. You might be asking yourself “How much money did you make from those views?”, let’s figure it out!

The Money

To be fair, I actually hit a little bit over 100 views, but we can still calculate what the exact dollar count per view we accumulated, thus calculating the 100 view value, here is what my dashboard shows me:

Image for post
Image for post

Hi Everyone! I’ve been a data scientist for about 2 years now and it’s a very rewarding career, but when I was starting off I wasn’t too sure what I needed to know to become a Data Scientist. Having a checklist for any career is very important, so here is a little bit of a checklist of what you need to do in order to become a data scientist (in my opinion)!

Python / R Experience

Python & R are some of the most important languages a Data Scientist can know. With these languages you’ll not only be able to process big data, but…

Image for post
Image for post

One of my favorite things to do with Machine Learning is forecasting, this pretty much means predicting the future with past data, and what better project to try this on than predicting the stock market! First off, we’re going to be using Google Colab to run this code, luckily for us this code was pretty much already developed, please give all the credit to this website for the code, otherwise let’s get started! Here is the link to access the Google Colab project, you can also copy the code over to your Python IDE if you prefer.

Quick Note: This…

Manpreet Singh

Data Scientist / Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store