From christianzlong at gmail.com Mon Oct 3 15:25:38 2016 From: christianzlong at gmail.com (Christian Long) Date: Mon, 3 Oct 2016 14:25:38 -0500 Subject: [FoxPUG] October meeting Message-ID: Hi All, Our October meeting is tonight at 7. http://foxpython.tumblr.com/post/150337285747/october-meeting We'll be working on the Google Earth Engine. See you there! Christian From christianzlong at gmail.com Fri Oct 7 18:59:03 2016 From: christianzlong at gmail.com (Christian Long) Date: Fri, 7 Oct 2016 17:59:03 -0500 Subject: [FoxPUG] Python Pandas equivalent to R's dplyr Message-ID: Hi, This is a question mostly for Nick, but I figured I'd put it out for the whole list too. R has a library called dplyr which makes it easy to chain dataframe operations together in to a pipeline. There are several Python libraries that claim to do the same for Pandas DataFrames. I wonder if any of you have experience or opinions about this. dplython https://github.com/dodger487/dplython pandas-ply http://pythonhosted.org/pandas-ply/ dfply https://github.com/kieferk/dfply Plain method chaining using only Pandas http://stackoverflow.com/a/29585283/456550 What do you think? Any preferences? Thanks, Christian From fromiester_69 at yahoo.com Tue Oct 11 18:20:19 2016 From: fromiester_69 at yahoo.com (Nick) Date: Tue, 11 Oct 2016 17:20:19 -0500 Subject: [FoxPUG] Python Pandas equivalent to R's dplyr In-Reply-To: References: Message-ID: <5FF7A031-2DA4-4480-8B2A-995C38CB13AC@yahoo.com> Christian, I'm familiar with the piping in R, it is relative new (last year?) it is actually from another package that is being leveraged by dplyr and others. I have not tried any of the other packages below, but I would assume there are some piping operators or packages in Python, that could be leveraged? -Nick > On Oct 7, 2016, at 5:59 PM, Christian Long wrote: > > Hi, > > This is a question mostly for Nick, but I figured I'd put it out for > the whole list too. > > R has a library called dplyr which makes it easy to chain dataframe > operations together in to a pipeline. There are several Python > libraries that claim to do the same for Pandas DataFrames. I wonder if > any of you have experience or opinions about this. > > dplython > https://github.com/dodger487/dplython > > pandas-ply > http://pythonhosted.org/pandas-ply/ > > dfply > https://github.com/kieferk/dfply > > Plain method chaining using only Pandas > http://stackoverflow.com/a/29585283/456550 > > What do you think? Any preferences? > > Thanks, > > Christian > _______________________________________________ > FoxPUG mailing list > FoxPUG at python.org > https://mail.python.org/mailman/listinfo/foxpug From christianzlong at gmail.com Tue Oct 11 18:30:14 2016 From: christianzlong at gmail.com (Christian Long) Date: Tue, 11 Oct 2016 17:30:14 -0500 Subject: [FoxPUG] Python Pandas equivalent to R's dplyr In-Reply-To: <5FF7A031-2DA4-4480-8B2A-995C38CB13AC@yahoo.com> References: <5FF7A031-2DA4-4480-8B2A-995C38CB13AC@yahoo.com> Message-ID: Hi Nick, These packages all offer a way to chain operations together. Some of them use a weird overloading of the >> operator. I'm not sure if that's cool or too weird. I'll play around with them, and see if I find a preference. Thanks! Christian On Tue, Oct 11, 2016 at 5:20 PM, Nick wrote: > Christian, > I'm familiar with the piping in R, it is relative new (last year?) it is actually from another package that is being leveraged by dplyr and others. > > I have not tried any of the other packages below, but I would assume there are some piping operators or packages in Python, that could be leveraged? > > -Nick > >> On Oct 7, 2016, at 5:59 PM, Christian Long wrote: >> >> Hi, >> >> This is a question mostly for Nick, but I figured I'd put it out for >> the whole list too. >> >> R has a library called dplyr which makes it easy to chain dataframe >> operations together in to a pipeline. There are several Python >> libraries that claim to do the same for Pandas DataFrames. I wonder if >> any of you have experience or opinions about this. >> >> dplython >> https://github.com/dodger487/dplython >> >> pandas-ply >> http://pythonhosted.org/pandas-ply/ >> >> dfply >> https://github.com/kieferk/dfply >> >> Plain method chaining using only Pandas >> http://stackoverflow.com/a/29585283/456550 >> >> What do you think? Any preferences? >> >> Thanks, >> >> Christian >> _______________________________________________ >> FoxPUG mailing list >> FoxPUG at python.org >> https://mail.python.org/mailman/listinfo/foxpug >