Re: IPython-User Digest, Vol 129, Issue 6

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: IPython-User Digest, Vol 129, Issue 6

Mark Bakker



On Tue, Jul 29, 2014 at 11:19 PM, <[hidden email]> wrote:
Send IPython-User mailing list submissions to
        [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.scipy.org/mailman/listinfo/ipython-user
or, via email, send a message with subject or body 'help' to
        [hidden email]

You can reach the person managing the list at
        [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of IPython-User digest..."


Today's Topics:

   1. Re: IPython Notebooks and Active Learning (Matthew        Brett)
      (Mark Bakker)
   2. Re: IPython Notebooks and Active Learning (Matthew        Brett)
      (Thomas Kluyver)
   3. Re: IPython Notebooks and Active Learning (Matthew        Brett)
      (Thomas Kluyver)
   4. Re: IPython Notebooks and Active Learning (Matthew        Brett)
      (Fernando Perez)
   5. Re: IPython Notebooks and Active Learning (Matthew        Brett)
      (Matthew Brett)
   6. check for value in list of columns (Vincent Davis)


----------------------------------------------------------------------

Message: 1
Date: Tue, 29 Jul 2014 22:50:39 +0200
From: Mark Bakker <[hidden email]>
Subject: Re: [IPython-User] IPython Notebooks and Active Learning
        (Matthew        Brett)
To: [hidden email]
Message-ID:
        <CAEX=[hidden email]>
Content-Type: text/plain; charset="utf-8"

We have developed a series of 15 Notebooks for scientists and engineers who
want to use Python programming for exploratory computing, scipting, data
analysis, and visualization. No prior knowledge of computer programming is
assumed. Each Notebook covers a specific topic and includes a number of
exercises. The exercises should take less than 4 hours to complete for each
Notebook.

We have developed these Notebooks for an undergraduate class (sophomores)
in Civil Engineering. A short survey of the students taking the class (~270
of them) showed that the students really liked the class and learned a lot.

The Notebooks may be viewed at
http://mbakker7.github.io/exploratory_computing_with_python/
A link to the GitHub repository is also shown on this page.

Hope you find it useful,

Mark Bakker
TU Delft, The Netherlands
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20140729/b531c35f/attachment-0001.html

------------------------------

Message: 2
Date: Tue, 29 Jul 2014 14:00:05 -0700
From: Thomas Kluyver <[hidden email]>
Subject: Re: [IPython-User] IPython Notebooks and Active Learning
        (Matthew        Brett)
To: "Discussions about using IPython. http://ipython.org"
        <[hidden email]>
Message-ID:
        <CAOvn4qh_riO5a4JgkBziZ4Hd+=[hidden email]>
Content-Type: text/plain; charset="utf-8"

Thanks Mark, that looks very nice. Please do post this to the ipython-dev
list as well - we're gently deprecating the -user list to fold the two into
one.

Best wishes,
Thomas


On 29 July 2014 13:50, Mark Bakker <[hidden email]> wrote:

> We have developed a series of 15 Notebooks for scientists and engineers
> who want to use Python programming for exploratory computing, scipting,
> data analysis, and visualization. No prior knowledge of computer
> programming is assumed. Each Notebook covers a specific topic and includes
> a number of exercises. The exercises should take less than 4 hours to
> complete for each Notebook.
>
> We have developed these Notebooks for an undergraduate class (sophomores)
> in Civil Engineering. A short survey of the students taking the class (~270
> of them) showed that the students really liked the class and learned a lot.
>
> The Notebooks may be viewed at
> http://mbakker7.github.io/exploratory_computing_with_python/
> A link to the GitHub repository is also shown on this page.
>
> Hope you find it useful,
>
> Mark Bakker
> TU Delft, The Netherlands
>
> _______________________________________________
> IPython-User mailing list
> [hidden email]
> http://mail.scipy.org/mailman/listinfo/ipython-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20140729/f7ab5c8c/attachment-0001.html

------------------------------

Message: 3
Date: Tue, 29 Jul 2014 14:00:34 -0700
From: Thomas Kluyver <[hidden email]>
Subject: Re: [IPython-User] IPython Notebooks and Active Learning
        (Matthew        Brett)
To: "Discussions about using IPython. http://ipython.org"
        <[hidden email]>
Message-ID:
        <CAOvn4qhOodiu=XD_eg7_5ny6SNZv_=[hidden email]>
Content-Type: text/plain; charset="utf-8"

Nevermind, you already did.


On 29 July 2014 14:00, Thomas Kluyver <[hidden email]> wrote:

> Thanks Mark, that looks very nice. Please do post this to the ipython-dev
> list as well - we're gently deprecating the -user list to fold the two into
> one.
>
> Best wishes,
> Thomas
>
>
> On 29 July 2014 13:50, Mark Bakker <[hidden email]> wrote:
>
>> We have developed a series of 15 Notebooks for scientists and engineers
>> who want to use Python programming for exploratory computing, scipting,
>> data analysis, and visualization. No prior knowledge of computer
>> programming is assumed. Each Notebook covers a specific topic and includes
>> a number of exercises. The exercises should take less than 4 hours to
>> complete for each Notebook.
>>
>> We have developed these Notebooks for an undergraduate class (sophomores)
>> in Civil Engineering. A short survey of the students taking the class (~270
>> of them) showed that the students really liked the class and learned a lot.
>>
>> The Notebooks may be viewed at
>> http://mbakker7.github.io/exploratory_computing_with_python/
>> A link to the GitHub repository is also shown on this page.
>>
>> Hope you find it useful,
>>
>> Mark Bakker
>> TU Delft, The Netherlands
>>
>> _______________________________________________
>> IPython-User mailing list
>> [hidden email]
>> http://mail.scipy.org/mailman/listinfo/ipython-user
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20140729/5b3367d1/attachment-0001.html

------------------------------

Message: 4
Date: Tue, 29 Jul 2014 14:01:59 -0700
From: Fernando Perez <[hidden email]>
Subject: Re: [IPython-User] IPython Notebooks and Active Learning
        (Matthew        Brett)
To: "Discussions about using IPython. http://ipython.org"
        <[hidden email]>
Message-ID:
        <CAHAreOpcme-X3YvMwXaaJ5WLV2V31nu_0ncGXS=[hidden email]>
Content-Type: text/plain; charset="utf-8"

These look great! Could I ask you to add them to the gallery in the
relevant section, along with any other relevant links for them?  They will
be more easily found that way in the future:

https://github.com/ipython/ipython/wiki/A-gallery-of-interesting-IPython-Notebooks#entire-books-or-other-large-collections-of-notebooks-on-a-topic

Cheers

f


On Tue, Jul 29, 2014 at 1:50 PM, Mark Bakker <[hidden email]> wrote:

> We have developed a series of 15 Notebooks for scientists and engineers
> who want to use Python programming for exploratory computing, scipting,
> data analysis, and visualization. No prior knowledge of computer
> programming is assumed. Each Notebook covers a specific topic and includes
> a number of exercises. The exercises should take less than 4 hours to
> complete for each Notebook.
>
> We have developed these Notebooks for an undergraduate class (sophomores)
> in Civil Engineering. A short survey of the students taking the class (~270
> of them) showed that the students really liked the class and learned a lot.
>
> The Notebooks may be viewed at
> http://mbakker7.github.io/exploratory_computing_with_python/
> A link to the GitHub repository is also shown on this page.
>
> Hope you find it useful,
>
> Mark Bakker
> TU Delft, The Netherlands
>
> _______________________________________________
> IPython-User mailing list
> [hidden email]
> http://mail.scipy.org/mailman/listinfo/ipython-user
>
>


--
Fernando Perez (@fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20140729/db6179f3/attachment-0001.html

------------------------------

Message: 5
Date: Tue, 29 Jul 2014 17:16:31 -0400
From: Matthew Brett <[hidden email]>
Subject: Re: [IPython-User] IPython Notebooks and Active Learning
        (Matthew        Brett)
To: "Discussions about using IPython. http://ipython.org"
        <[hidden email]>, IPython Development list
        <[hidden email]>
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset=UTF-8

Hi,

On Tue, Jul 29, 2014 at 4:50 PM, Mark Bakker <[hidden email]> wrote:
> We have developed a series of 15 Notebooks for scientists and engineers who
> want to use Python programming for exploratory computing, scipting, data
> analysis, and visualization. No prior knowledge of computer programming is
> assumed. Each Notebook covers a specific topic and includes a number of
> exercises. The exercises should take less than 4 hours to complete for each
> Notebook.
>
> We have developed these Notebooks for an undergraduate class (sophomores) in
> Civil Engineering. A short survey of the students taking the class (~270 of
> them) showed that the students really liked the class and learned a lot.
>
> The Notebooks may be viewed at
> http://mbakker7.github.io/exploratory_computing_with_python/
> A link to the GitHub repository is also shown on this page.

Thanks a lot for this.   From our feedback, our students liked the
notebooks too - e.g.

"I appreciate the downloadable iPython notebooks with explanations of
what the code is and does - will be a great reference"

I think there's really no question that the notebooks make running
code examples easier and clearer for the teacher and the student.  And
they are indeed a great reference.   The question always is - what do
we want to teach?  In some cases it's probably enough that the
students get the idea, and running / writing code in the notebooks
helps them get the idea.   But the students also implicitly learn that
this is the standard way of working with code, and I personally don't
think we should be teaching that.  So, for me at least, I am trying to
find a way to strike a balance between the ease of writing materials /
ease of getting students running code, and the need for teaching solid
working practice. For example, for the next iteration of our course,
I'm thinking of doing a flipped classroom format, with the tutorials
mostly in IPython notebooks, but doing the exercises in class using
text editor and terminal and git.  I'd also like to try and teach the
IPython notebook as a great tool for sharing and explaining a
workflow, or developing a tutorial.

Cheers,

Matthew


------------------------------

Message: 6
Date: Tue, 29 Jul 2014 15:32:16 -0600
From: Vincent Davis <[hidden email]>
Subject: [IPython-User] check for value in list of columns
To: ipython <[hidden email]>
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset="utf-8"

I have data that looks like this
 VMONTH VDAYVYEAR MED1MED2 MED3MED4 MED5PATWT PATCODE 010 1593 <a href="tel:6073524355" value="+16073524355">6073524355
3384316475 999595686 11 1015 9310126 578917165 9000090000 956862 210 1593
578919675 3055390000 9000095686 33 1015 9360735 1786534495 9000090000 956864
410 1593 196755810 9000090000 9000095686 5

?I want to create a new bool column "med" that has True/False based on  ?60735
in the columns MED1...MED5
I am trying this and am not sure why it does not work.
DF['med'] = (60735 in [DF['MED1'], DF['MED1']])

ValueError: The truth value of a Series is ambiguous. Use a.empty,
a.bool(), a.item(), a.any() or a.all()


Vincent Davis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20140729/77e6d649/attachment.html

------------------------------

_______________________________________________
IPython-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/ipython-user


End of IPython-User Digest, Vol 129, Issue 6
********************************************


_______________________________________________
IPython-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/ipython-user