Docsity

Notes on Data Analysis in Python - Building Environmental Systems | SI 182, Study notes of Information Technology

Partial preview of the text

Download Notes on Data Analysis in Python - Building Environmental Systems | SI 182 and more Study notes Information Technology in PDF only on Docsity!

Welcome to SI

Building Information Environments

Data Analysis in Python

Charles Severance Textbook: Python Programming: An Introduction to Computer Science, John Zelle (www.si182.com)

What is the Course About?

• A first programming course - but different

• Focus on skills that you will use regardless of your major

• Prepare you for further programming courses if you find programming

interesting

• Part of understanding how to make programming more of a basic and

useful skill across all majors

Informatics Major Structure

• Core courses - All students

Informatics Tracks - Advanced Courses

• Information Analysis

• Social Computing

• Computational Informatics

• Life Sciences Informatics

Syllabus

  • My previous job: Sakai / CTools Architect
  • My research topics: Software For Teaching and Learning, Web Lecture technologies, and High Performance Computing.
  • I also work in developing standards for learning software interoperability
  • Hobbies: Hockey, Off-Road Motorcycle Riding

Course Site

• Two sites

Semi-public - auditors and helpers

• Private - Primarily grading

• Mailing list

• [email protected]

• Please use it like a conversation

Why Python?

• Many languages to choose from: FORTRAN, C++, Ruby, C, Java, Perl,

• Balance three things

• Easy to use and learn - Not ugly and clunky

• Powerful - You don’t have to write a lot of code to do what you want

• Popular - You will meet others who can help you

Why Python?

• Python is one of the the most popular languages for part-time

programmers

• Python also scales to Enterprise levels such as Google

History of Python

• In early 1980s Guido van Rossum was working on a

language called ABC aimed at teaching programming to non-programmer -

• Guido developed Python starting in 1986 by adding things

which were missing in ABC to solve real-world problems “Personal computers had all this wonderful packaged software that dealt in files. There was a spreadsheet file, a word processor file, a graphics editor file.The ABC users wanted to write little ABC programs that took something from their word processor file and pushed it back into the spreadsheet, or the other way around, but they couldn't because of the limitation on IO.”

History of Python

• A key element of Python is the ability to extend it in any

language. This has led to a rich set of add-on modules for Python which have been developed over the past 20 years. “I came up with a flexible extensibility model for Python. I said: "We'll provide a bunch of built-in object types, such as dictionaries, lists, the various kinds of numbers, and strings, to the language. But we'll also make it easy for third-party programmers to add their own object types to the system."

History of Python

• So ultimately, Python is a very extensible language which

has its beginnings in - being easy to learn, easy to teach, focused on data, and yet very powerful and easy to extend.

• References:

• http://www.artima.com/intv/python.html

• http://www.python.org/~guido/

Python Software

• Windows - http://www.python.org/download/ (Download Windows

Installer)

• Mac OS/X 10.5 - Already installed - you can upgrade from pythonmac

• Mac OS/X 10.4 - http://www.pythonmac.org/packages/

• Windows Lab Computer - USB Stick

• http://www.portablepython.com/site/download/

Helping Others

• Please ask for and/or give help

• In the beginning this is very foggy - hard

to find the big picture

• But remember that your purpose is to

learn

• Ask the mailing list - post code bits - it is

OK

http://en.wikipedia.org/wiki/Blind_Men_and_an_Elephant

Chuck’s Basic Rules

• Coming late or leaving early - OK

• Sleeping in class - OK

• Using a laptop - OK

• Eating or drinking - OK if the room

permits it

• Stepping out to take a bio break - OK

• Asking questions at any time - OK

• Correcting me when I make a mistake -

OK

• Skipping class - not very wise - but OK

• Doing things that distract other students

or making difficult for us all to learn - Not OK

• Skipping class or sleeping in class and

then expecting me to repeat entire lectures in office hours - Not OK

• Waiting to the last minute and asking me

to review the whole semester in office hours - Not OK