stat157 / background

0 stars 4 forks source link

Python Workshop #31

Open hkchang89 opened 10 years ago

hkchang89 commented 10 years ago

Hey guys,

I'm going to set up the Python workshop that Aaron mentioned in class today. It's going to be from 1-4 on Saturday the 9th. If people who are going to attend it can post comments here about what they would like to learn, that would really help Aaron prepare. Personally, I think we have lots of people here (myself included) who do not know a single line of code on Python, so I was hoping we start with the very basic material, and work through it together from data curation to visualization (if we have time).

jzhang980 commented 10 years ago

I'd like to join you guys. So the Python workshop will be from 1-4pm on Saturday the 9th, November.Location's at Aaron's office, Soda Hall. See you tomorrow!!

alisha791 commented 10 years ago

I'm also interested in attending the workshop to learn more about Python syntax and vocabulary

tandrasfay commented 10 years ago

I'm interested in attending. I would like to start from the very basics too.

tandrasfay commented 10 years ago

Has anyone scheduled this on bCal yet?

j-zhang commented 10 years ago

Also, the CS61A class is being webcasted for Fall 2013, so anyone could watch the webcasts for CS courses.

johnrisko commented 10 years ago

I'm going to be out of town unfortunately. Khoa sent me a link earlier this semester to improve my python skills, which I have found useful:

http://www.learnpython.org/

Its pretty good for a beginning introduction. I found codeacademy helpful but also somewhat impractical as it teaches the topics in an order that don't really pertain to this course.

johnrisko commented 10 years ago

Here's the link for the homepage of the 61a material in case anyone wanted to walk through a project or homework with aaron to get a better grasp:

http://www-inst.eecs.berkeley.edu/~cs61a/fa13/

kqdtran commented 10 years ago

Shameless plug of the day: Some tutorials related to the tools we used in this class can be found at https://github.com/kqdtran/pytut. They are in IPython notebook format.

arifyali commented 10 years ago

Sorry, I might a little late to the party here, but is there anyway you guys can record this? I won't be able to attend today and I'm sure that there are interested parties in the same boat as me.

j-zhang commented 10 years ago

Perhaps Aaron can record it from his pen / notebook.

I think if those who attended just wrote down a comprehensive list of topics they covered, anyone who missed the session could catch up on the topics on their own.

jzhang980 commented 10 years ago

Hey, did anyone actually book the appointment with Aaron for this workshop? I am here in Soda Hall, nobody here!!!!! I have been waiting for half hour already. Normally, if Aaron run late, he will send email to us. But I didn't received any email yet. So I assume he didn't know about it. I will stay here until 2PM.Hope I can see someone come.

all4ujin commented 10 years ago

Hi y'all. Six of us are with Aaron right now but not in his office. Instead of taking a left in Soda, please take a right. If you have trouble finding, text me at 510-778-5832 :+1:

hkchang89 commented 10 years ago

Hey guys, so I had scheduled this through bCal, we met up with Aaron around 1:30 and we moved to a different room because his office was too small. It's 1:55 right now so hopefully you are still here at Soda.

all4ujin commented 10 years ago

For those who were not present for the Python workshop here are some things we went over from 2pm: (Aaron will be updating his notebook - so I only have the first part he covered typed in here)

From iPython Notebook:

Syntax [ ] is used for list and { } is used for dictionaries

Data vs Meta-data: Data: magnitude Meta-data: magnitude in more than digits (has the type of the data as well)

I highly recommend visiting the site Aaron suggested a while back on Oct 15: http://www.codecademy.com/tracks/python

davidwang001 commented 10 years ago

Thanks for sharing notes

Sent from my iPhone

On Nov 9, 2013, at 3:13 PM, Yoojin Jang notifications@github.com wrote:

For those who were not present for the Python workshop here are some things we went over from 2pm: (Aaron will be updating his notebook - so I only have the first part he covered typed in here)

From iPython Notebook:

help> keyboard shortcuts edit> split cells Syntax

is used for list and { } is used for dictionaries

Lists

ordered arrays of heterogeneous elements Sets

unordered collections of heterogeneous elements Dictionaries

unordered collections of indexed and heterogeneous elements sep = "," is used to properly separate columns (from Recent Earthquakes ipynb from our 2nd HW)

try this: data[0:2]['Datetime', Magnitude'] make sure to watch out for indenting: shift + tab (to move a whole block of stuff) "mpl_toolkits.basemap" is the name of a package "mpl_toolkits.basemap.Basemap" is the name of a class defined in the mpl_toolkits.basemap package To refer to the class just as Basemap instead of as mpl_toolkits.basemap.Basemap you can import the class using this: from mpl_toolkits.basemap import Basemap Often you see imports written as this: import mpl_toolkits.basemap However, it does not import everything from the basemap package, it just allows you to use stuff from the library, but you must fully qualify it like this: mpl_toolkits.basemap.Basemap(...args go here..) Data vs Meta-data: Data: magnitude Meta-data: magnitude in more than digits (has the type of the data as well)

I highly recommend visiting the site Aaron suggested a while back on Oct 15: http://www.codecademy.com/tracks/python

— Reply to this email directly or view it on GitHub.

alexchaomander commented 10 years ago

Second that. Thanks for sending this out!