Re: [Tutor] cvxopt install problem

2015-11-05 Thread Michael Crawford
Learn to Program web site > http://www.alan-g.me.uk/ > http://www.amazon.com/author/alan_gauld > Follow my photo-blog on Flickr at: > http://www.flickr.com/photos/alangauldphotos > > > > ___ > Tutor maillist - Tutor@python.org &g

Re: [Tutor] weird lambda expression -- can someone help me understand how this works

2013-12-13 Thread Michael Crawford
It answered it. I had forgotten that you could pass functions around in python. Thanks, Mike On Dec 13, 2013, at 9:31 PM, Amit Saha wrote: > On Sat, Dec 14, 2013 at 12:29 PM, Amit Saha wrote: >> On Sat, Dec 14, 2013 at 12:14 PM, Michael Crawford wrote: >>> I found thi

Re: [Tutor] weird lambda expression -- can someone help me understand how this works

2013-12-13 Thread Michael Crawford
Ah yes I see it. I forgot you can pass around functions in python. Thanks for the help, Mike On Dec 13, 2013, at 9:29 PM, Amit Saha wrote: > On Sat, Dec 14, 2013 at 12:14 PM, Michael Crawford wrote: >> I found this piece of code on github >> >> https://gist.github

[Tutor] weird lambda expression -- can someone help me understand how this works

2013-12-13 Thread Michael Crawford
I found this piece of code on github https://gist.github.com/kljensen/5452382 def one_hot_dataframe(data, cols, replace=False): """ Takes a dataframe and a list of columns that need to be encoded. Returns a 3-tuple comprising the data, the vectorized data, and the fitted vecto

Re: [Tutor] Running a script in the background

2012-09-01 Thread Michael Crawford
For windows not sure but for osx just add an & after the command. python myscript.py & On Sep 1, 2012, at 11:29 PM, Michael Lewis wrote: > Hi everyone, > > I am sorry to ask this when there are a lot of resources online regarding the > subject, but I've spent the past two days trying to figur