The Fifth Elephant 2019

The eighth edition of India's best data conference

Participate

Become Language Agnostic by Combining the Power of R with Python using Reticulate

Submitted by \AbdulMajedRaja (@amrrs) on Monday, 15 April 2019

Session type: Workshop

Abstract

Language Wars have always been there for ages and it’s got a new candidate with Data science booming - R vs Python. While the fans are fighting R vs Python, the creators (Hadley Wickham (Chief DS @ RStudio) and Wes McKinney (Creator of Pandas Project)) are working together as Ursa Labs team to create open source data science tools. A similar effort by RStudio has given birth to Reticulate (R Interface to Python) that helps programmers combine R and Python in the same code, session and project and create a new kind of super hero.

Outline

Why R and Python?
Introduction to Reticulate
Python Engine
Code Outline
Sample Use-case explanation
Potential use-cases to create a new super power

Duration of the workshop. - ~2 hours
Background knowledge required to participate in the workshop. What concepts/technologies should participants be familiar with in order to attend the workshop. - Knowledge of R and Python. Use of RStudio and Python installation
Target audience: who should attend the workshop? - Datascientist / Consultant who wants to leverage the power of both R and Python for their Projects
Who should NOT attend this workshop. - This isn’t for someone who wants to learn R or Python or any other Data science Concepts
Why attend this workshop? What will participants learn from attending this workshop? How will they benefit? - Understanding the capability of using Python with R. Learning the technical acumens of it and ideas to incorporate it in their own Workflows.
Detailed workshop plan
- Why R and Python?
* Moving away from R vs Python
* Cases where both the langauges together will help
- Introduction to Reticulate
* What’s about the package reticulate
* How to install reticulate
* Basic Functions
- Python Engine
* Understanding about Python Engine in the local Machine
* Select Different Engine for Reticulate Session
- Code Outline
* Layout/Structure of the Code
* Presence of R
* Presence of Python
* Object Interaction
- Sample Use-case Explanation
* What’s the use-case
* Spacy - Outline
* RMarkdown - Outline
* Combining Spacy and Rmarkdown with Reticuate
* NLP Analysis Report
- Potential use-cases to create a new super power
* Use-cases that audience can take back
Requirements.
- R, RStudio, Python (with Enviroment Path configured)
- reticulate - Package installed
- Github Repo contents
- Necessary Python Packages
- Basic Computer Configuration - Any OS, Basic RAM (~2+ GB)

Requirements

  • Knowledge of R and Python

Speaker bio

Abdul Majed is an Analytics Consultant helping Organizations make sense some out of the massive - often not knowing what to do - data. Married to R (but dating Python). Always amazed by Open Source and its contributors and trying to be one of them.

Organizer @ Bengaluru R user Group (BRUG) Organizer

Contributed to Open source by publishing packages on CRAN and PyPi

Writer @ Towards Data Science and DataScience+

Links

Slides

https://github.com/amrrs/python_plus_r_brug/blob/master/py_plus_r.pdf

Comments

  • Anwesha Sarkar (@anweshaalt) Reviewer 2 months ago

    Thank you for your submission. Submit your preview video by 23rd March(latest). It helps us to provide a fair evaluation to the proposal and close the review process.

  • Zainab Bawa (@zainabbawa) Reviewer a month ago

    Is this a proposal for a workshop \AbdulMajedRaja?

    • \AbdulMajedRaja (@amrrs) Proposer a month ago

      @zainabbawa This was submitted a talk but a workshop is what I’ve conducted before on the same topic so can be done as a workshop.

      • Zainab Bawa (@zainabbawa) Reviewer a month ago

        Thanks for the clarification. Moving this to workshop proposal. Arun from the review team will get in touch with you.

  • Zainab Bawa (@zainabbawa) Reviewer a month ago

    Hello Abdul,

    Edit this proposal and resubmit with the following details:

    1. Duration of the workshop. If you are unsure about the exact duration, you can speculatively put it down as either 4 hours or 6 hours for now.
    2. Background knowledge required to participate in the workshop. What concepts/technologies should participants be familiar with in order to attend the workshop.
    3. Target audience: who should attend the workshop? Specify personas rather than mentioning beginner or advanced level audiences. Ensure that the workshop caters to one specific audience segment only.
    4. Who should NOT attend this workshop.
    5. Why attend this workshop? What will participants learn from attending this workshop? How will they benefit?
    6. Detailed workshop plan. Give us a break-up of the different sections of the workshop and what content will be covered in each section.
    7. Requirements. What software and other tech should participants install on their laptops before coming to this workshop? Should participants carry laptops with specific configurations on their machines?

    The above details should be added to this proposal by or before 26 May so that we can review the details and close on the decision.

    • \AbdulMajedRaja (@amrrs) Proposer a month ago

      Hello @Zainab, Edit it with the following details.

      Why R and Python?
      Introduction to Reticulate
      Python Engine
      Code Outline
      Sample Use-case explanation
      Potential use-cases to create a new super power

      **Duration of the workshop.** - ~2 hours
      **Background knowledge required to participate in the workshop. What concepts/technologies should participants be familiar with in order to attend the workshop.**  - Knowledge of R and Python. Use of RStudio and Python installation
      **Target audience: who should attend the workshop?** - Datascientist / Consultant who wants to leverage the power of both R and Python for their Projects
      **Who should NOT attend this workshop.** - This isn't for someone who wants to learn R or Python or any other Data science Concepts
      **Why attend this workshop? What will participants learn from attending this workshop? How will they benefit?** - Understanding the capability of using Python with R. Learning the technical acumens of it and ideas to incorporate it in their own Workflows.
      **Detailed workshop plan**
                  * Why R and Python?
                     * Moving away from R vs Python
                     * Cases where both the langauges together will help
                  * Introduction to Reticulate
                     * What's about the package `reticulate`
                     * How to install reticulate
                     * Basic Functions
                  * Python Engine
                     * Understanding about Python Engine in the local Machine
                     * Select Different Engine for Reticulate Session
                  * Code Outline
                     * Layout/Structure of the Code
                     * Presence of R
                     * Presence of Python
                     * Object Interaction
                  * Sample Use-case Explanation
                     * What's the use-case
                     * Spacy - Outline
                     * RMarkdown - Outline
                     * Combining Spacy and Rmarkdown with Reticuate
                     * NLP Analysis Report
                  * Potential use-cases to create a new super power
                     * Use-cases that audience can take back
      **Requirements.**
                  - R, RStudio, Python (with Enviroment Path configured)
                  - reticulate - Package installed
                  - Github Repo contents 
                  - Necessary Python Packages
                  - Basic Computer Configuration - Any OS, Basic RAM (~2+ GB)
      

Login with Twitter or Google to leave a comment