|
2 | 2 | layout: lesson |
3 | 3 | root: . |
4 | 4 |
|
5 | | -contributors: |
6 | | - - April Wright |
7 | | - - Ethan White |
8 | | - - John Gosset |
9 | | - - Leah Wasser |
10 | | - - Mariela Perignon |
11 | | - - Tracy Teal |
12 | | - |
13 | 5 | maintainers: |
14 | 6 | - April Wright |
15 | 7 | - John Gosset |
16 | 8 | - Mateusz Kuzak |
17 | | - |
18 | | -software: Python |
19 | 9 | --- |
20 | 10 |
|
21 | | -**Content Contributors:** {{ page.contributors | join: ', ' }} |
22 | | - |
23 | 11 | **Lesson Maintainers:** {{ page.maintainers | join: ', ' }} |
24 | 12 |
|
25 | | -Data Carpentry's aim is to teach researchers basic concepts, skills, and tools |
26 | | -for working with data so that they can get more done in less time, and with less |
27 | | -pain. The lessons below were designed for those interested in working with |
28 | | -ecological data in Python. |
29 | | - |
30 | | - |
31 | | -## Lessons |
32 | | - |
33 | | -- [Short Introduction to Python](00-short-introduction-to-Python) |
34 | | -- [Starting With Data](01-starting-with-data) |
35 | | -- [Index Slice Subset](02-index-slice-subset) |
36 | | -- [Data Types and Format](03-data-types-and-format) |
37 | | -- [Merging Data](04-merging-data) |
38 | | -- [Data Analysis Automation: Loops and Functions](05-loops-and-functions) |
39 | | -- [Plotting with ggplot](06-visualization-ggplot-python) |
40 | | -- [Putting It All Together](07-putting-it-all-together) |
41 | | -- [Accessing SQL using Python](08-working-with-sql) |
42 | | - |
43 | | - |
44 | | -## Data |
45 | | - |
46 | | -Data for this lesson is from the Portal Project Teaching Database - |
47 | | -[available on FigShare](https://figshare.com/articles/Portal_Project_Teaching_Database/1314459). |
48 | | - |
49 | | -Specifically, the data files we use in these lessons are: |
50 | | - |
51 | | -- [surveys.csv](https://ndownloader.figshare.com/files/2292172) |
52 | | -- [species.csv](https://ndownloader.figshare.com/files/3299483) |
53 | | - |
54 | | - |
55 | | -## Requirements |
56 | | - |
57 | | -Data Carpentry's teaching is hands-on, so participants are encouraged to use |
58 | | -their own computers to insure the proper setup of tools for an efficient workflow. |
59 | | -*These lessons assume no prior knowledge of the skills or tools*, but working |
60 | | -through this lesson requires working copies of the software described below. |
61 | | -To most effectively use these materials, please make sure to install everything |
62 | | -*before* working through this lesson. |
63 | | - |
64 | | -Participants are required to abide by Data Carpentry's |
65 | | -[Code of Conduct](http://www.datacarpentry.org/code-of-conduct/). |
66 | | - |
67 | | - |
68 | | -{% if page.software == "Python" %} |
69 | | -{% include pythonSetup.html %} |
70 | | -{% elsif page.software == "Spreadsheets" %} |
71 | | -{% include spreadsheetSetup.html %} |
72 | | -{% elsif page.software == "R" %} |
73 | | -{% include rSetup.html %} |
74 | | -{% else %} |
75 | | -{% include anySetup.html %} |
76 | | -{% endif %} |
77 | | - |
78 | | - |
79 | | -## Acknowledgements & Support |
80 | | - |
81 | | -Data Carpentry is supported by the [Gordon and Betty Moore Foundation] and a |
82 | | -partnership of several NSF-funded [BIO] Centers ([NESCent], [iPlant], [iDigBio], |
83 | | -[BEACON] and [SESYNC]) and [Software Carpentry], and is sponsored by the [Data |
84 | | -Observation Network for Earth] (DataONE). The structure and objectives of the |
85 | | -curriculum as well as the teaching style are informed by [Software Carpentry]. |
86 | | - |
87 | | - |
88 | | -[Gordon and Betty Moore Foundation]: https://www.moore.org |
89 | | -[BIO]: https://www.nsf.gov/dir/index.jsp?org=BIO |
90 | | -[NESCent]: https://nescent.org |
91 | | -[iPlant]: http://www.iplantcollaborative.org |
92 | | -[iDigBio]: https://www.idigbio.org |
93 | | -[BEACON]: http://beacon-center.org |
94 | | -[SESYNC]: https://sesync.org |
95 | | -[Software Carpentry]: https://software-carpentry.org |
96 | | -[Data Observation Network for Earth]: https://www.dataone.org |
| 13 | +Python is a general purpose programming language that is useful for writing scripts to work effectively and reproducibly with data. |
| 14 | + |
| 15 | +This is an introduction to Python designed for participants with no programming experience. These lessons can be taught in a day (~ 6 hours). They start with some basic information about Python syntax, the Jupyter notebook interface, and move through how to import CSV files, using the pandas package to work with data frames, how to calculate summary information from a data frame, and a brief introduction to plotting. The last lesson demonstrates how to work with databases directly from Python. |
| 16 | + |
| 17 | +> ## Getting Started |
| 18 | +> |
| 19 | +> Data Carpentry's teaching is hands-on, so participants are encouraged to use |
| 20 | +> their own computers to insure the proper setup of tools for an efficient |
| 21 | +> workflow. <br>**These lessons assume no prior knowledge of the skills or tools.** |
| 22 | +> |
| 23 | +> To get started, follow the directions in the "[Setup](setup/)" tab to |
| 24 | +> download data to your computer and follow any installation instructions. |
| 25 | +> |
| 26 | +> #### Prerequisites |
| 27 | +> |
| 28 | +> This lesson requires a working copy of **Python**. |
| 29 | +> <br>To most effectively use these materials, please make sure to install |
| 30 | +> everything *before* working through this lesson. |
| 31 | +{: .prereq} |
| 32 | + |
| 33 | +> ## For Instructors |
| 34 | +> If you are teaching this lesson in a workshop, please see the |
| 35 | +> [Instructor notes](guide/). |
| 36 | +{: .prereq} |
0 commit comments