This post is just about adding Python to Windows Path, so that Python interpreter can be easily access from cmd ( command line). You will
Category: Python
Combine and visualize 2 English Premier League datasets (number of goals and assists) using Python Pandas
This post is about combining and visualization of 2 EPL datasets, process includes dataframe slicing, merging and plotting. The 2 datasets can be downloaded below:
Using Python scatter plot with multiple y variables in a single plot
Hi, this post is about having multiple y variables in a single scatter plot. The data we will be using is the English Premier league
Split Python List into sublists base on index/indices
We will split a Python list into sublists base on the index position. The source code below and it’s quite self explanatory. The output :
Using Python 3 to remove 1st or last line in multi line string
To remove 1st line, change multi line string to list and use list slicing to remove 1st line, see code below: Output before and after
Python text manipulation – Newline every sentences in a paragraph
This post is about text manipulation in a text paragraph. This script will move every new sentence into a newline when it faces a period(.).
