Open in app

Sign in

Write

Sign in

Joseph Hart
Joseph Hart

76 Followers

Home

About

Feb 9, 2021

Creating a function for permutations

Permutations are the number of different combinations you can make when order matters. Permutations are a statistical tool data scientists, and data analysts use from time to time, and it is an important skill to know. To make a permutation function, you will need the itertools library. To start, import…

Python Programming

2 min read

Python Programming

2 min read


Feb 5, 2021

Using an API to Print Your Favorite Song Lyrics

Grabbing song lyrics using an api is easier then you may think. Not only can you have them right away on your computer, but then you can download them too. To get started, import the necessary libraries The API is from api.lyrics.oh. Set your variables for the artist and song you want.

Python3

1 min read

Python3

1 min read


Jan 25, 2021

Using a web scraper to retrieve craigslist rental price

You want to scrape craigslist for the latest rental price for a house, and you don't want to check the web page for it constantly. In a few code lines, you can pull the price from the website and have it in front of you. Let’s get started. First, import…

Python Programming

2 min read

Using a web scraper to retrieve craigslist rental information
Using a web scraper to retrieve craigslist rental information
Python Programming

2 min read


Jan 21, 2021

Reversing a String in Python

This is a good thing to try in prep for an interview or just general skills in python. Even if you are not asked in an interview to do this, it is still a good skill to know how to do it. Let’s start by defining our function. By defining a function for this, we can create a system that will more easily reverse any string. Creating a function is also more code friendly because it is more general.

Python3

2 min read

Python3

2 min read


Jan 14, 2021

Creating and Editing a Dictionary Part 2

In Python, dictionaries are powerful resources that are capable of storing a lot of information. I. this post, I will show you how to create a dictionary with multiple elements and how to delete one of those items. Let’s name our dictionary people and add our elements. We have three keys: Steve, Tim, and Frank. Each of these keys has two values, age and last name. If we want to pull our first item, we will do the following:

Python3

2 min read

Python3

2 min read


Jan 8, 2021

Stock Information Retrieval in Python

If you have read my other posts about stock information retrieval, then you’ll be happy to know there is a MUCH simpler way to get the information you want in fewer lines of code. This code is easier to read and takes less time to process. …

Python3

3 min read

Stock Information Retrieval in Python
Stock Information Retrieval in Python
Python3

3 min read


Dec 31, 2020

Creating a Linear Regression Model in Python

Creating a Linear Regression model in python requires imports from the Sci-kit Learn library. It is useful to assess the relationship between two variables. This example will use heart disease data found on Kaggle's website.

Python

2 min read

Creating a Linear Regression Model in Python
Creating a Linear Regression Model in Python
Python

2 min read


Dec 24, 2020

Basic Operators in Python

Completing basic math operations is easier than you may think. Operations like addition, subtraction, multiplication, and division are useful for statistics and completing other tasks. Addition

Python3

2 min read

Python3

2 min read


Published in

Python in Plain English

·Dec 16, 2020

Creating a Dictionary in Python

Creating a dictionary in python is a useful tool that can be applied to machine learning hyper tuning and grid searching. In this blog, I’ll go over how to create a dictionary, go through it, and add items to it. First, start by creating a variable name for your dictionary…

Python3

3 min read

Creating a Dictionary in Python
Creating a Dictionary in Python
Python3

3 min read


Dec 10, 2020

Defining Functions in Python

Defining functions is a great way to demonstrate your coding ability. It shows you know how to create something that doesn't need to be changed every time to run. I mean that you do not have to change numbers or variables to get the outcome you desire. This could be…

Python Programming

4 min read

Defining Functions in Python
Defining Functions in Python
Python Programming

4 min read

Joseph Hart

Joseph Hart

76 Followers

Data Scientist

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams