Re: [Tutor] Translating R Code to Python-- reading in csv files, writing out to csv files

2012-05-20 Thread Dave Angel
Please don't top-post. You lose the context of what was written before, since it's now out of order. When replying to a message, quote the parts you're replying to, and put your comments AFTER the quotes. On 05/19/2012 05:07 PM, Benjamin G wrote: > Thanks, Joel. Here is a simple example of the

Re: [Tutor] Translating R Code to Python-- reading in csv files, writing out to csv files

2012-05-20 Thread Joel Goldstick
On Sun, May 20, 2012 at 6:30 AM, Massimo Di Stefano wrote: > Maybe this doc. > > http://mathesaurus.sourceforge.net/matlab-python-xref.pdf > > can help ? > > i found it useful. > > Massimo. > > > Il giorno May 20, 2012, alle ore 2:42 AM, Martin A. Brown ha scritto: > >> >> Benjamin, >> >> : Thanks

Re: [Tutor] Translating R Code to Python-- reading in csv files, writing out to csv files

2012-05-20 Thread Massimo Di Stefano
Maybe this doc. http://mathesaurus.sourceforge.net/matlab-python-xref.pdf can help ? i found it useful. Massimo. Il giorno May 20, 2012, alle ore 2:42 AM, Martin A. Brown ha scritto: > > Benjamin, > > : Thanks Martin-- this is really great. My major question now is > : that I need to tra

Re: [Tutor] Translating R Code to Python-- reading in csv files, writing out to csv files

2012-05-19 Thread Martin A. Brown
Benjamin, : Thanks Martin-- this is really great. My major question now is : that I need to transition to Python for a project and I need to : learn how to think in Python instead of in R. The two strategies : I have used so far are: a) going through the description and : exercises in

Re: [Tutor] Translating R Code to Python-- reading in csv files, writing out to csv files

2012-05-19 Thread Benjamin G
Thanks Martin-- this is really great. My major question now is that I need to transition to Python for a project and I need to learn how to think in Python instead of in R. The two strategies I have used so far are: a) going through the description and exercises in http://www.openbookproject.net/

Re: [Tutor] Translating R Code to Python-- reading in csv files, writing out to csv files

2012-05-19 Thread Martin A. Brown
Greetings Benjamin, To begin: I do not know R. : I'm trying to improve my python by translating R code that I : wrote into Python. : : *All I am trying to do is take in a specific column in : "uncurated" and write that whole column as output to "curated." : It should be a pretty basic

Re: [Tutor] Translating R Code to Python-- reading in csv files, writing out to csv files

2012-05-19 Thread Benjamin G
rg > > Date: Sat, 19 May 2012 13:46:42 > > To: > > Subject: [Tutor] Translating R Code to Python-- reading in csv files, > > writing out to csv files > > > > ___ > > Tutor maillist - Tutor@python.org

Re: [Tutor] Translating R Code to Python-- reading in csv files, writing out to csv files

2012-05-19 Thread Joel Goldstick
: Benjamin G > Sender: tutor-bounces+eire1130=gmail@python.org > Date: Sat, 19 May 2012 13:46:42 > To: > Subject: [Tutor] Translating R Code to Python-- reading in csv files, >  writing out to csv files > > ___ > Tutor mai

Re: [Tutor] Translating R Code to Python-- reading in csv files, writing out to csv files

2012-05-19 Thread eire1130
9 May 2012 13:46:42 To: Subject: [Tutor] Translating R Code to Python-- reading in csv files, writing out to csv files ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/

[Tutor] Translating R Code to Python-- reading in csv files, writing out to csv files

2012-05-19 Thread Benjamin G
I'm trying to improve my python by translating R code that I wrote into Python. I've been reading about the python csv module and realized it was best to get some expert input to clarify some confusion on my part. As background, GSEX_full_pdata.csv has different patient information (such as u