Presentation is loading. Please wait.

Presentation is loading. Please wait.

(Edit via Slide Master) Name – Job Title From R to Python Robert Mastrodomenico Global Sports Statistics.

Similar presentations


Presentation on theme: "(Edit via Slide Master) Name – Job Title From R to Python Robert Mastrodomenico Global Sports Statistics."— Presentation transcript:

1 (Edit via Slide Master) Name – Job Title youremail@yourdomain.com From R to Python Robert Mastrodomenico Global Sports Statistics

2 Robert Mastrodomenico – Global Sports Statistics rob@globalsportsstatistics.co.uk Schedule About me My experiences with R Why I moved to Python Whats so good about Python

3 Robert Mastrodomenico – Global Sports Statistics rob@globalsportsstatistics.co.uk About me Completed a PhD in statistical genetics at University of Reading in 2008 Worked at Smartodds from 2007 to 2011 Setup Global Sports Statistics in 2011

4 Robert Mastrodomenico – Global Sports Statistics rob@globalsportsstatistics.co.uk My experiences with R Initially used R at PhD level integrated with C to do analysis R was the primary programming language once I started work R used for data analysis and maintenance tasks

5 Robert Mastrodomenico – Global Sports Statistics rob@globalsportsstatistics.co.uk Why I moved to python R was used due to the ease of data manipulation and large statistical library However R was also being used for other tasks such web scraping and html/xml parsing R was becoming the only choice used for scripting

6 Robert Mastrodomenico – Global Sports Statistics rob@globalsportsstatistics.co.uk Why I moved to python I first used python for an XML parsing task Code was easy to write Results were great This got me curious about what else Python had to offer

7 Robert Mastrodomenico – Global Sports Statistics rob@globalsportsstatistics.co.uk Dive into Python To learn more about Python I read “Dive into Python” Syntactically and stylistically Python was much different to R The more I learnt the more I used it

8 Robert Mastrodomenico – Global Sports Statistics rob@globalsportsstatistics.co.uk Setting up by myself In 2011 Global Sports Statistics was created Everything had to be setup from scratch Used the opporunity to do something different

9 Robert Mastrodomenico – Global Sports Statistics rob@globalsportsstatistics.co.uk Why Change? Development is faster in Python Easy to write Object Orientated code Fantastic Library of packages Sometimes a change is good!

10 Robert Mastrodomenico – Global Sports Statistics rob@globalsportsstatistics.co.uk What Python has to offer Pandas: Data Analysis Library Django: High Level Web Framework NumPy: Package for numerical computing SciPy: Routines for numerical Integration and Optimization

11 Robert Mastrodomenico – Global Sports Statistics rob@globalsportsstatistics.co.uk What Python has to offer Matplotlib: 2-D plotting Flask: Microframework Mechanize: Programatic Web Browsring BeautifulSoup: Html Scraping PyQt: GUI building

12 Robert Mastrodomenico – Global Sports Statistics rob@globalsportsstatistics.co.uk Rpy2 But what if you want to use an R package Rpy2 allows use of any R functionality from within Python It also supports use of any packages that R has to offer

13 Robert Mastrodomenico – Global Sports Statistics rob@globalsportsstatistics.co.uk Why move to Python Im not saying you need to However I believe a lot of what people do in R can be done faster in Python Try it out whats the worst that can happen?

14 Robert Mastrodomenico – Global Sports Statistics rob@globalsportsstatistics.co.uk Thank you for you attention


Download ppt "(Edit via Slide Master) Name – Job Title From R to Python Robert Mastrodomenico Global Sports Statistics."

Similar presentations


Ads by Google