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
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
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
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
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