Python List Comprehension Dictionary Set Comprehension and For Loops

This is a guide on Python List comprehension. List comprehension is a great way to write simple and easy to read Python codes. You can use it dictionaries and sets as well.   Credits to  Corey Schafer , creator of Python course materials. lets create a list In [115]: num = range(10) num   Out[115]: [0, 1,

Read More »

Rank Sort Series DataFrames in Python Pandas Numpy

  In this quick notes, we will have a look at Rank and Sort in Series and DataFrames in Python In [1]: import numpy as np import pandas as pd from pandas import Series, DataFrame   In [3]: #make a series ser1 = Series(range(3), index=[‘C’,’A’,’B’]) ser1   Out[3]: C 0 A 1 B 2 dtype: int32 In [4]:

Read More »
Data Science
datapandasadmin

Mean Squared Error – Simple Definition, Explanation and Illustration

Having started my journey in Data Science. I came across Mean Squared Error several times and realised how important that concept is. Then I started working on project and needed to really understand what Mean Squared Error is ? So what is Mean Squared Error ? Simply,  let’s say you are building your model. And

Read More »

Coursera Capstone Final Report – Data Analysis and Interpretation

I worked with a World Bank Dataset provided by the Course instructors. The research question was: Prediction of Adjusted Net National Income Per Capita of Countries Brief Introduction to the Research Question The purpose of this project was to identify the best predictors for Adjusted Net National Income Per Capita of countries from multiple World

Read More »

Can the sample size be equal to the population size?

What is population size: In simple terms, let’s us say population is the WHOLE SET and What is sample size:  let us say it is the SUBSET (which is within the whole set) The norm Normally subsets are within the whole set and are smaller than the whole set Can they be equal ? Yes

Read More »

How To Power On The Python Idle – Python

I know this can be very simple and straightforward for most people, but hey, when i was beginning to program in Python, I did not know how to get the Python Idle running. Hence l cover that quickly here. It is assumed you have already downloaded and installed Python on your windows PC You can

Read More »