Saturday, 13 February 2016

How to use Lists in Python - A close look

Today I am going to deal with lists in Python. Here I will dive into the details of lists covering how to use them . I will try to show you each way with code describing it in detail.
What is a List in Python?
 Lists in general is a data-structure which can hold a particular type of elements and its size can increase or decrease. But a List in Python is quite different. It is a built-in data type which can hold multiple types of elements - numbers, strings, tuples, lists, dictionaries.So this is the beauty of lists in Python.
How to declare a List in Python?
It is very easy to declare and initialize a list in Python. I will show how to create an empty list, list with similar type of elements and list with different type of elements.

Friday, 12 February 2016

Introductio to R – Why use R

The science of data analysis (statistics, psychometrics, econometrics, machine learning) has kept pace with this explosion of data. Before personal computers and the internet, new statistical methods were developed by academic researchers who published their results as theoretical papers in professional journals. It could take years for these methods to be adapted by programmers and incorporated into the statistical packages widely available to data analysts. Today, new methodologies appear daily. Statistical researchers publish new and improved methods, along with the code to produce them, on easily accessible websites.