Python Forum
migrating from R to Python: specific questions - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: General (https://python-forum.io/forum-1.html)
+--- Forum: News and Discussions (https://python-forum.io/forum-31.html)
+--- Thread: migrating from R to Python: specific questions (/thread-9367.html)



migrating from R to Python: specific questions - pth1123 - Apr-04-2018

I have been using R and RStudio for prototyping and model building and due to some persisting problems (which would only be applicable to the environment that I am using in) we have decided to use python. I am looking to know:

  1. is there a python development environment like "RStudio Server"?

  2. how easy/hard to enable multi-threading/multi-core processing in Python for decision trees/gradient boosting?

  3. can data persist in python dev environment server? Meaning: Can I save the dev environment with code and data frames and come back the next day to access/pick up where I left?

  4. Can you connect to Oracle database from Python?

  5. Is there a way I can import .RData to python development environment?

Why ask these questions here?

While looking up on search engines, I am mostly getting unreliable results, training insitutes promotions, outdated blogs and whitepapers from industry giants. I need a reliable answer.


RE: migrating from R to Python: specific questions - Larz60+ - Apr-04-2018

1. Take a look at Rodeo: https://github.com/yhat/rodeo
Also: JupyterLab: https://blog.jupyter.org/jupyterlab-is-ready-for-users-5a6f039b8906

2. It of course depends on what you want to do. Many sites already use Python, YouTubs, Instagram and many others, see: https://www.shuup.com/blog/25-of-the-most-popular-python-and-django-websites/. As to how it's done, look for articles on asyncio, here's a few choices: https://medium.freecodecamp.org/a-guide-to-asynchronous-programming-in-python-with-asyncio-232e2afa44f6 a or https://python-forum.io/Thread-Exploring-async-await-without-knowing-how-they-work-ahead-of-time?highlight=asyncio

3. Many IDE's have this capability. Popular are:
Visual Studio Code (Not to be confused with MS Visual Studio) https://code.visualstudio.com/
PyCharm: https://www.jetbrains.com/pycharm/documentation/
Many others: google 'Popular Python IDE's'

4. A list of oracle interface packages: https://pypi.python.org/pypi?%3Aaction=search&term=oracle+interface&submit=search

5.Again, list for python packages for dealing with RData: https://pypi.python.org/pypi?%3Aaction=search&term=RData+interface&submit=search