Skip to content

Commit 960d4fa

Browse files
committed
Added Work directory
1 parent ea22c09 commit 960d4fa

17 files changed

+2659
-9
lines changed

Notes/00_Setup.md

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# Course Setup and Overview
22

3-
Welcome to Practical Python Programming!
3+
Welcome to Practical Python Programming! This page has some important information
4+
about course setup and logistics.
5+
6+
## Course Duration and Time Requirements
7+
8+
This course was originally given as an instructor-led in-person
9+
training that spanned 3 to 4 days. To complete the course in its
10+
entirety, you should plan on committing 25-35 hours of work.
411

512
## Setup and Python Installation
613

@@ -54,18 +61,30 @@ bash %
5461
With this option, you just won't be able to commit code changes except
5562
to the local copy on your machine.
5663

57-
## File Layout
64+
## Coursework Layout
65+
66+
Do all of your coding work in the `Work/` directory. Within that
67+
directory, there is a `Data/` directory. The `Data/` directory
68+
contains a variety of datafiles and other scripts used during the
69+
course. You will frequently have to access files located in `Data/`.
70+
Course exercises are written with the assumption that you are creating
71+
programs in the `Work/` directory.
72+
73+
## Course Order
5874

59-
Do all of your coding work in the `Work/` directory. Within that directory,
60-
there is a `Data/` directory. The `Data/` directory contains a variety of
61-
datafiles and other scripts used during the course. You will frequently have
62-
to access files in `Data/`. Course exercises are written with the assumption
63-
that you are creating programs in the `Work/` directory.
75+
Course material should be completed in section order, starting with
76+
section 1. Course exercises in later sections build upon code written in
77+
earlier sections.
6478

65-
## Solutions
79+
## Solution Code
6680

6781
The `Solutions/` directory contains full solution code to selected exercises.
68-
Feel free to look at this if you need a hint.
82+
Feel free to look at this if you need a hint. To get the most out of the
83+
course, you should try to create your own solutions first.
84+
85+
[Contents](Contents)
86+
87+
6988

7089

7190

Work/Data/dowstocks.csv

Lines changed: 2341 additions & 0 deletions
Large diffs are not rendered by default.

Work/Data/missing.csv

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name,shares,price
2+
"AA",100,32.20
3+
"IBM",50,91.10
4+
"CAT",150,83.44
5+
"MSFT",,51.23
6+
"GE",95,40.37
7+
"MSFT",50,65.10
8+
"IBM",,70.44

Work/Data/portfolio.csv

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name,shares,price
2+
"AA",100,32.20
3+
"IBM",50,91.10
4+
"CAT",150,83.44
5+
"MSFT",200,51.23
6+
"GE",95,40.37
7+
"MSFT",50,65.10
8+
"IBM",100,70.44

Work/Data/portfolio.csv.gz

136 Bytes
Binary file not shown.

Work/Data/portfolio.dat

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name shares price
2+
"AA" 100 32.20
3+
"IBM" 50 91.10
4+
"CAT" 150 83.44
5+
"MSFT" 200 51.23
6+
"GE" 95 40.37
7+
"MSFT" 50 65.10
8+
"IBM" 100 70.44

Work/Data/portfolio2.csv

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
name,shares,price
2+
"AA",50,27.10
3+
"HPQ",250,43.15
4+
"MSFT",25,50.15
5+
"GE",125,52.10

Work/Data/portfolioblank.csv

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name,shares,price
2+
3+
"AA",100,32.20
4+
5+
"IBM",50,91.10
6+
7+
"CAT",150,83.44
8+
9+
"MSFT",200,51.23
10+
11+
"GE",95,40.37
12+
13+
"MSFT",50,65.10
14+
15+
"IBM",100,70.44
16+

Work/Data/portfoliodate.csv

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name,date,time,shares,price
2+
"AA","6/11/2007","9:50am",100,32.20
3+
"IBM","5/13/2007","4:20pm",50,91.10
4+
"CAT","9/23/2006","1:30pm",150,83.44
5+
"MSFT","5/17/2007","10:30am",200,51.23
6+
"GE","2/1/2006","10:45am",95,40.37
7+
"MSFT","10/31/2006","12:05pm",50,65.10
8+
"IBM","7/9/2006","3:15pm",100,70.44

Work/Data/prices.csv

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
"AA",9.22
2+
"AXP",24.85
3+
"BA",44.85
4+
"BAC",11.27
5+
"C",3.72
6+
"CAT",35.46
7+
"CVX",66.67
8+
"DD",28.47
9+
"DIS",24.22
10+
"GE",13.48
11+
"GM",0.75
12+
"HD",23.16
13+
"HPQ",34.35
14+
"IBM",106.28
15+
"INTC",15.72
16+
"JNJ",55.16
17+
"JPM",36.90
18+
"KFT",26.11
19+
"KO",49.16
20+
"MCD",58.99
21+
"MMM",57.10
22+
"MRK",27.58
23+
"MSFT",20.89
24+
"PFE",15.19
25+
"PG",51.94
26+
"T",24.79
27+
"UTX",52.61
28+
"VZ",29.26
29+
"WMT",49.74
30+
"XOM",69.35
31+

0 commit comments

Comments
 (0)