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 Benjamin G
ave you looked at pyR? > I believe it is a wrapper for python, giiving you access to r. > > > > > > Sent from my Verizon Wireless BlackBerry > > > > -Original Message- > > From: Benjamin G > > Sender: tutor-bounces+eire1130=gmail@python.o

[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