Showing posts with label DataScience. Show all posts
Showing posts with label DataScience. Show all posts

Tuesday, 31 May 2016

Python Points #13 - Comprehensions

Monday, 14 March 2016

Machine Learning Links you must Visit



1. Scikit-Learn Tutorial Series - http://buff.ly/1XnDWv6
2. 7 Free Machine Learning Courses - http://buff.ly/1XoBapa 
3. k-nearest neighbor algorithm using Python - http://buff.ly/1SLyUZX
4. 7 Steps to Mastering Machine Learning With Python - http://buff.ly/1SLyZwR


Analytics in Python 

1. Learning Pandas #1 - Series - http://bit.ly/2hAlZ0u
2. Learning Pandas #2 - DataFrame  -  http://bit.ly/2ii6Mlu
3. Learning Pandas #3 - Working on Summary & Missing Data - http://bit.ly/2iUROTB
4. Learning Pandas #4 - Hierarchical Indexing - http://bit.ly/2i8AMx9






Like the below page to get update  
https://www.facebook.com/datastage4you
https://twitter.com/datagenx
https://plus.google.com/+AtulSingh0/posts
https://datagenx.slack.com/messages/datascience/

DataScience Links you must Visit



1. Python (and R) for Data Science - sample code, libraries, projects, tutorials - http://buff.ly/22bwhXi
2. 19 Worst Mistakes at Data Science Job Interviews - http://buff.ly/1XnJ3eJ 














Like the below page to get update  
https://www.facebook.com/datastage4you
https://twitter.com/datagenx
https://plus.google.com/+AtulSingh0/posts
https://datagenx.slack.com/messages/datascience/

Friday, 11 March 2016

Python Points #12 - execute OS commads

Thursday, 10 March 2016

Python Points #11 - Set

Tuesday, 8 March 2016

Python - Get line no with print statement


Sometime when we are working on some code and there are lot of print statement, It's difficult to check for which print statement produce this statement.

It helps a lot while debugging the code and helped me to create better python learning script which will generate the output with the code line no which is easy to relate.




Code:
from inspect import currentframe

def lno():
    cf = currentframe()
    val = str(cf.f_back.f_lineno)+". "
    return val

print "this is Me", lno()
print lno(), "Hi! there"

Output:

this is Me  8.
9.  Hi! there


** This is a little overhead on the code as with each print statement the function is being called. So use it wisely :-)





Like the below page to get update  
https://www.facebook.com/datastage4you
https://twitter.com/datagenx
https://plus.google.com/+AtulSingh0/posts
https://datagenx.slack.com/messages/datascience/

Monday, 22 February 2016

Python Points #10d - Writing into Files

Wednesday, 17 February 2016

Python Points #10c - File Methods

Sunday, 7 February 2016

Python Points #10b - Reading Files

Saturday, 6 February 2016

Python Points #10a - Reading Files

Wednesday, 3 February 2016

Python Points #9 - Tuples

Wednesday, 27 January 2016

Python Points #8 - Dictionary

Tuesday, 19 January 2016

Python Points #7 - Loops

Thursday, 14 January 2016

Data Wrangling Cheatsheet

Tuesday, 12 January 2016

Python Points #6 - Strings

Sunday, 13 December 2015

Swirl Learn R in R




Step 1:  Install R
Step 2:  Install RStudio
Step 3:  Install swirl in R or RStudio
> install.packages("swirl")              
Step 4: Using R
> library("swirl")
> swirl()            

Step 5: Install R courses from R Course Repository





Like the below page to get update  
https://www.facebook.com/datastage4you
https://twitter.com/datagenx
https://plus.google.com/+AtulSingh0/posts
https://groups.google.com/forum/#!forum/datagenx

Data Science Tools Installation in Linux

Thursday, 19 November 2015

Python points #2 - Data Type & String Manipulations