Migrating from R to Python

Discussion in 'Python' started by Ryan, Nov 2, 2009.

  1. Ryan

    Ryan Guest

    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.
     
    Ryan, Nov 2, 2009
    #1
    1. Advertising

  2. Hi,

    2009/11/3 Ryan <>:
    > 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
     
    Ishwor Gurung, Nov 2, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ken Guest
    Replies:
    2
    Views:
    308
    Ken Guest
    Jan 6, 2006
  2. Replies:
    3
    Views:
    297
    John Machin
    Jan 4, 2008
  3. Mark Lawrence

    Re: migrating from python 2.4 to python 2.6

    Mark Lawrence, Jul 9, 2012, in forum: Python
    Replies:
    0
    Views:
    200
    Mark Lawrence
    Jul 9, 2012
  4. Replies:
    56
    Views:
    773
    alex23
    Dec 27, 2012
  5. Chris Angelico
    Replies:
    7
    Views:
    85
    Michael Torrie
    Jan 7, 2014
Loading...

Share This Page