Skip to content

Commit 90e16c9

Browse files
authored
README updates (#91)
* update readme buttons, text, style changes * remove period
1 parent eee999f commit 90e16c9

File tree

1 file changed

+108
-38
lines changed

1 file changed

+108
-38
lines changed

README.md

Lines changed: 108 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,152 @@
1-
# D-Lab's Python Fundamentals Workshop
1+
# D-Lab Python Fundamentals Workshop
22

3-
[![Datahub](https://img.shields.io/badge/launch-datahub-blue)](https://datahub.berkeley.edu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fdlab-berkeley%2FPython-Fundamentals&urlpath=tree%2FPython-Fundamentals%2F&branch=main) [![Binder](http://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/dlab-berkeley/Python-Fundamentals/main?urlpath=tree)
3+
[![Datahub](https://img.shields.io/badge/launch-datahub-blue)](https://dlab.datahub.berkeley.edu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fdlab-berkeley%2FPython-Fundamentals&urlpath=lab%2Ftree%2FPython-Fundamentals%2F&branch=main)
4+
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/dlab-berkeley/Python-Fundamentals/HEAD)
5+
[![License: CC BY 4.0](https://img.shields.io/badge/License-CC_BY_4.0-lightgrey.svg)](https://creativecommons.org/licenses/by/4.0/)
46

5-
This repository contains the materials for D-Lab’s Python Fundamentals workshop. No prior experience with Python is required.
7+
This repository contains the materials for D-Lab’s Python Fundamentals workshop.
8+
No prior experience with Python is required to attend this workshop.
69

710
## Workshop Goals
811

9-
In this workshop, we provide an introduction to Python. We do so in four main parts:
12+
This four-part, interactive workshop series is your complete introduction to
13+
programming Python for people with little or no previous programming experience.
14+
By the end of the series, you will be able to apply your knowledge of basic
15+
principles of programming and data manipulation to a real-world social science
16+
application.
1017

11-
* **Part 1**: Introduction to Python and Jupyter Notebooks, variables, data types, and functions.
18+
Each of the parts is divided into a lecture-style coding walkthrough interrupted
19+
by challenge problems, discussions of the solutions, and breaks. Instructors and
20+
TAs are dedicated to engaging you in the classroom and answering questions in
21+
plain language.
22+
23+
* **Part 1**: Introduction to Python and Jupyter Notebooks, variables, data
24+
types, and functions.
1225
* **Part 2**: Data structures, loops, conditionals, and creating functions.
1326
* **Part 3**: Libraries, File I/O, and scientific computing.
1427
* **Part 4**: Error handling, style, and an applied, in-depth project.
1528

1629
## Installation Instructions
1730

18-
Anaconda is a useful package management software that allows you to run Python and Jupyter notebooks very easily. Installing Anaconda is the easiest way to make sure you have all the necessary software to run the materials for this workshop. Complete the following steps:
31+
Anaconda is a useful package management software that allows you to run Python
32+
and Jupyter notebooks easily. Installing Anaconda is the easiest way to make
33+
sure you have all the necessary software to run the materials for this workshop.
34+
If you would like to run Python on your own computer, complete the following
35+
steps prior to the workshop:
1936

20-
1. [Download and install Anaconda (Python 3.9 distribution)](https://www.anaconda.com/products/individual). Click "Download" and then click 64-bit "Graphical Installer" for your current operating system.
37+
1. [Download and install Anaconda (Python 3.9
38+
distribution)](https://www.anaconda.com/products/individual). Click the
39+
"Download" button.
2140

22-
2. Download the [Python-Fundamentals workshop materials](https://github.com/dlab-berkeley/Python-Fundamentals):
41+
2. Download the Python Fundamentals [workshop
42+
materials](https://github.com/dlab-berkeley/Python-Fundamentals):
2343

24-
* Click the green "Code" button in the top right of the repository information.
25-
* Click "Download Zip".
26-
* Extract this file to a folder on your computer where you can easily access it (we recommend Desktop).
44+
- Click the green "Code" button in the top right of the repository
45+
information.
46+
- Click "Download Zip".
47+
- Extract this file to a folder on your computer where you can easily
48+
access it (we recommend Desktop).
2749

28-
3. Optional: if you're familiar with `git`, you can instead clone this repository by opening a terminal and entering `git clone git@github.com:dlab-berkeley/Python-Fundamentals.git`.
50+
3. Optional: if you're familiar with `git`, you can instead clone this
51+
repository by opening a terminal and entering the command `git clone
52+
git@github.com:dlab-berkeley/Python-Fundamentals.git`.
2953

30-
## Run the code
54+
## Is Python Not Working on Your Laptop?
3155

32-
Now that you have all the required software and materials, you need to run the code:
56+
If you do not have Anaconda installed and the materials loaded on your workshop
57+
by the time it starts, we *strongly* recommend using the D-Lab Datahub to
58+
run the materials for these lessons. You can access the DataHub by clicking the
59+
following button:
3360

34-
1. Open the Anaconda Navigator application. You should see the green snake logo appear on your screen. Note that this can take a few minutes to load up the first time.
61+
[![Datahub](https://img.shields.io/badge/launch-datahub-blue)](https://dlab.datahub.berkeley.edu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fdlab-berkeley%2FPython-Fundamentals&urlpath=lab%2Ftree%2FPython-Fundamentals%2F&branch=main)
3562

36-
2. Click the "Launch" button under "Jupyter Notebooks" and navigate through your file system to the `Python-Fundamentals` folder you downloaded above.
63+
The DataHub downloads this repository, along with any necessary packages, and
64+
allows you to run the materials in a Jupyter notebook that is stored on UC
65+
Berkeley's servers. No installation is necessary from your end - you only need
66+
an internet browser and a CalNet ID to log in. By using the DataHub, you can
67+
save your work and come back to it at any time. When you want to return to your
68+
saved work, just go straight to [DataHub](https://datahub.berkeley.edu), sign
69+
in, and you click on the `Python-Fundamentals` folder.
3770

38-
3. In the folder, open the `00_workshop_setup.ipynb` to begin.
71+
If you don't have a Berkeley CalNet ID, you can still run these lessons in the
72+
cloud, by clicking this button:
3973

40-
4. Press Shift + Enter (or Ctrl + Enter) to run a cell.
74+
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/dlab-berkeley/Python-Fundamentals/HEAD)
4175

42-
## Is Python not working on your laptop?
76+
Binder operates similarly to the D-Lab DataHub, but on a different set of
77+
servers. By using Binder, however, you cannot save your work.
4378

44-
If you do not have Anaconda installed and the materials loaded on your workshop by the time it starts, we *strongly* recommend using the UC Berkeley Datahub to run the materials for these lessons. You can access the DataHub by clicking this button:
79+
## Run the Code
4580

46-
[![Datahub](https://img.shields.io/badge/launch-datahub-blue)](https://datahub.berkeley.edu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fdlab-berkeley%2FPython-Fundamentals&urlpath=tree%2FPython-Fundamentals%2F&branch=main)
81+
Now that you have all the required software and materials, you need to run the
82+
code.
4783

48-
The DataHub downloads this repository, along with any necessary packages, and allows you to run the materials in a Jupyter notebook that is stored on UC Berkeley's servers. No installation is necessary from your end - you only need an internet browser and a CalNet ID to log in. By using the DataHub, you can save your work and come back to it at any time. When you want to return to your saved work, just go straight to [DataHub](https://datahub.berkeley.edu), sign in, and you click on the `Python-Fundamentals` folder.
84+
1. Open the Anaconda Navigator application. You should see the green snake logo
85+
appear on your screen. Note that this can take a few minutes to load up the
86+
first time.
4987

50-
If you don't have a Berkeley CalNet ID, you can still run these lessons in the cloud, by clicking this button:
88+
2. Click the "Launch" button under "JupyterLab" and navigate through your file
89+
system on the left hand pane to the `Python-Fundamentals` folder you
90+
downloaded above. Note that, if you download the materials from GitHub, the
91+
folder name may instead be `Python-Fundamentals-main`.
5192

52-
[![Binder](http://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/dlab-berkeley/Python-Fundamentals/main?urlpath=tree)
93+
3. Open `00_workshop_setup.ipynb` to begin.
5394

54-
By using this button, you cannot save your work unfortunately.
95+
4. Press Shift + Enter (or Ctrl + Enter) to run a cell.
5596

56-
# About the UC Berkeley D-Lab
97+
Note that all of the above steps can be run from the terminal, if you're
98+
familiar with how to interact with Anaconda in that fashion. However, using
99+
Anaconda Navigator is the easiest way to get started if this is your first time
100+
working with Anaconda.
101+
102+
## Additional Resources
57103

58-
D-Lab works with Berkeley faculty, research staff, and students to advance data-intensive social science and humanities research. Our goal at D-Lab is to provide practical training, staff support, resources, and space to enable you to use R for your own research applications. Our services cater to all skill levels and no programming, statistical, or computer science backgrounds are necessary. We offer these services in the form of workshops, one-to-one consulting, and working groups that cover a variety of research topics, digital tools, and programming languages.
104+
Check out the following online resources to learn more about Python:
59105

60-
Visit the [D-Lab homepage](https://dlab.berkeley.edu/) to learn more about us. You can view our [calendar](https://dlab.berkeley.edu/events/calendar) for upcoming events, learn about how to utilize our [consulting](https://dlab.berkeley.edu/consulting) and [data](https://dlab.berkeley.edu/data) services, and check out upcoming [workshops](https://dlab.berkeley.edu/events/workshops).
106+
* [A Byte of Python](https://python.swaroopch.com)
107+
* [Software Carpentry](https://swcarpentry.github.io/)
108+
* [W3Schools](https://www.w3schools.com/python/)
109+
110+
# About the UC Berkeley D-Lab
111+
112+
D-Lab works with Berkeley faculty, research staff, and students to advance
113+
data-intensive social science and humanities research. Our goal at D-Lab is to
114+
provide practical training, staff support, resources, and space to enable you to
115+
use R for your own research applications. Our services cater to all skill levels
116+
and no programming, statistical, or computer science backgrounds are necessary.
117+
We offer these services in the form of workshops, one-to-one consulting, and
118+
working groups that cover a variety of research topics, digital tools, and
119+
programming languages.
120+
121+
Visit the [D-Lab homepage](https://dlab.berkeley.edu/) to learn more about us.
122+
You can view our [calendar](https://dlab.berkeley.edu/events/calendar) for
123+
upcoming events, learn about how to utilize our
124+
[consulting](https://dlab.berkeley.edu/consulting) and [data
125+
services](https://dlab.berkeley.edu/data), and check out upcoming
126+
[workshops](https://dlab.berkeley.edu/events/workshops). Subscribe to our
127+
[newsletter](https://dlab.berkeley.edu/news/weekly-newsletter) to stay up to
128+
date on D-Lab events, services, and opportunities.
61129

62130
# Other D-Lab Python Workshops
63131

64-
Here are other Python workshops offered by the D-Lab:
132+
D-Lab offers a variety of Python workshops, catered toward different levels of
133+
expertise.
65134

66-
### Basic competency
135+
## Introductory Workshops
67136

68-
* [Python Fundamentals](https://github.com/dlab-berkeley/python-fundamentals)
69-
* [Introduction to Pandas](https://github.com/dlab-berkeley/introduction-to-pandas)
70-
* [Geospatial Fundamentals in Python](https://github.com/dlab-berkeley/Geospatial-Fundamentals-in-Python)
137+
- [Python Data Wrangling](https://github.com/dlab-berkeley/Python-Data-Wrangling)
138+
- [Python Data Visualization](https://github.com/dlab-berkeley/Python-Data-Visualization)
71139

72-
### Intermediate/advanced competency
140+
## Intermediate and Advanced Workshops
73141

74-
* [Computational Text Analysis in Python](https://github.com/dlab-berkeley/computational-text-analysis-spring-2019)
75-
* [Introduction to Machine Learning in Python](https://github.com/dlab-berkeley/python-machine-learning)
76-
* [Introduction to Artificial Neural Networks in Python](https://github.com/dlab-berkeley/ANN-Fundamentals)
77-
* [Fairness and Bias in Machine Learning](https://github.com/dlab-berkeley/fairML)
142+
- [Python Geospatial Fundamentals](https://github.com/dlab-berkeley/Geospatial-Data-and-Mapping-in-Python)
143+
- [Python Web Scraping and APIs](https://github.com/dlab-berkeley/Python-Web-Scraping)
144+
- [Python Machine Learning](https://github.com/dlab-berkeley/Python-Machine-Learning)
145+
- [Python Text Analysis](https://github.com/dlab-berkeley/Python-Text-Analysis)
146+
- [Python Deep Learning](https://github.com/dlab-berkeley/Python-Deep-Learning)
78147

79148
# Contributors
149+
80150
* Emily Grabowski
81151
* Pratik Sachdeva
82152
* Christopher Hench

0 commit comments

Comments
 (0)