Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Migrating from R to Python

Reply
Thread Tools

Migrating from R to Python

 
 
Ryan
Guest
Posts: n/a
 
      11-02-2009
I am a long time user of "R" for statistical analysis and find it an
extremely useful environment for data exploration. That said I may be
adding and/or moving to Python for more of my work and wanted to know
if people had any recommendations.

My work is primarily financial time series analysis. In R this means
extensive use of "zoo" and "xts". I see from searching that there is a
time-series package for Python called pytseries (http://
pytseries.sourceforge.net/) that looks closest to adding the time
series capabilities to Python.

My question is to people who have used zoo and xts in R, what has
their experience been with Python? Would you recommend using native
Python to do time series analysis, or rPy to link back to R for
analysis?

Thanks.
 
Reply With Quote
 
 
 
 
Ishwor Gurung
Guest
Posts: n/a
 
      11-02-2009
Hi,

2009/11/3 Ryan <(E-Mail Removed)>:
> I am a long time user of "R" for statistical analysis and find it an

[...]

> My question is to people who have used zoo and xts in R, what has
> their experience been with Python? Would you recommend using native
> Python to do time series analysis, or rPy to link back to R for
> analysis?


Although I haven't used 'zoo' nor 'xts' in R I use Rpy/Rpy2 because it
seems to expose almost all(iirc) the necessary R space within Python
space. So, if I need features in R - for e.g., importing modules -
library('foo'), I can still have it in Python via the Rpy/Rpy2 bridge.
On the other hand with pytseries Python library, I'd be limited to
only run time-series analysis wouldn't I? In the end though, it all
depends on your project requirements, resources and so forth..
--
Regards,
Ishwor Gurung
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Help] [Newbie] Require help migrating from Perl to Python 2.7 (namespaces) prilisauer@googlemail.com Python 56 12-27-2012 01:25 PM
Re: migrating from python 2.4 to python 2.6 Mark Lawrence Python 0 07-09-2012 11:05 AM
Tabnanny errors when Migrating Python 2.4 code to 2.5 kyosohma@gmail.com Python 3 01-04-2008 10:28 PM
advice required re migrating php app to python and most likely zope Ken Guest Python 2 01-06-2006 10:59 AM
Thunderbird file sharing & migrating/remoting data-mine@else-wh.ere Firefox 0 04-30-2004 03:50 AM



Advertisments