Blog: Extra-ordinary

Libraries for data science in Python

Fundamental Libraries for Scientific Computing IPython Notebook NumPy pandas SciPy Math and Statistics SymPy Statsmodels Machine Learning Scikit-learn Shogun PyBrain PyLearn2 PyMC Plotting and Visualization Bokeh d3py ggplot matplotlib plotly prettyplotlib seaborn Data formatting and storage csvkit PyTables sqlite3

Continue Reading

Method overloading example in python

class Localbus: def sayLocal(self, busName=None): if busName is not None: print(‘Hello ‘ + busName) else: print(‘Hello ‘) obj = Localbus() obj.sayLocal() obj.sayLocal(‘Alif’) Output ============= Hello Hello Alif class Human: def sayHello(self, name=None, age=None): if name is not None and age is None: print(‘Hello ‘ + name) elif age is not None and age is not None: print(‘Hello ‘,name, ‘ your …

Continue Reading

R Variable Assignment

  • February 20, 2018
  • R
  • 179 Comments

var_assign1 valid Variable can use in number,underscore var_assign% Invalid Can’t use ‘%’.  dot(.) and underscore allowed. 2var_assign invalid Variable can’t start with number .var_assign , var.assign valid Can start with a dot(.) and the dot(.) with join. .2var_assign invalid Variable started with dot & number _var_assign invalid Variable starts with _ which is not valid

Continue Reading

R data types

  • February 12, 2018
  • R
  • 217 Comments

R not like other programming languages like C and java,the variables are not declared as some data type. R basically object base.There are many types of R-objects. The frequently used ones are − Vectors Lists Matrices Arrays Factors Data Frames These objects is the vector object and there are six data types of these atomic vectors, also termed as six …

Continue Reading

R script

  • February 12, 2018
  • R
  • 217 Comments

# My first program in R Programming > strVar <- “Hello, World!” > print ( strVar) 1 “Hello, World!” Comments #This is R comments  

Continue Reading