Skip to content

Commit f051ec5

Browse files
committed
updates
1 parent 0255171 commit f051ec5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+1760
-147
lines changed

chapters/module1.md

Lines changed: 462 additions & 108 deletions
Large diffs are not rendered by default.

docs/module1/index.html

Lines changed: 9 additions & 5 deletions
Large diffs are not rendered by default.

docs/page-data/module1/page-data.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/page-data/sq/d/1029480139.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/page-data/sq/d/3063084251.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/sitemap.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
3+
<url> <loc>https://www.earthcube.org/ec_workshops_py/module2</loc> <changefreq>daily</changefreq> <priority>0.7</priority> </url>
34
<url> <loc>https://www.earthcube.org/ec_workshops_py/module4</loc> <changefreq>daily</changefreq> <priority>0.7</priority> </url>
4-
<url> <loc>https://www.earthcube.org/ec_workshops_py/module6</loc> <changefreq>daily</changefreq> <priority>0.7</priority> </url>
5-
<url> <loc>https://www.earthcube.org/ec_workshops_py/module5</loc> <changefreq>daily</changefreq> <priority>0.7</priority> </url>
65
<url> <loc>https://www.earthcube.org/ec_workshops_py/module3</loc> <changefreq>daily</changefreq> <priority>0.7</priority> </url>
7-
<url> <loc>https://www.earthcube.org/ec_workshops_py/module2</loc> <changefreq>daily</changefreq> <priority>0.7</priority> </url>
86
<url> <loc>https://www.earthcube.org/ec_workshops_py/module7</loc> <changefreq>daily</changefreq> <priority>0.7</priority> </url>
7+
<url> <loc>https://www.earthcube.org/ec_workshops_py/module6</loc> <changefreq>daily</changefreq> <priority>0.7</priority> </url>
98
<url> <loc>https://www.earthcube.org/ec_workshops_py/reference-and-resources</loc> <changefreq>daily</changefreq> <priority>0.7</priority> </url>
9+
<url> <loc>https://www.earthcube.org/ec_workshops_py/module5</loc> <changefreq>daily</changefreq> <priority>0.7</priority> </url>
1010
<url> <loc>https://www.earthcube.org/ec_workshops_py/module1</loc> <changefreq>daily</changefreq> <priority>0.7</priority> </url>
1111
<url> <loc>https://www.earthcube.org/ec_workshops_py/</loc> <changefreq>daily</changefreq> <priority>0.7</priority> </url>
1212
</urlset>

exercises/exc_01_01.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
import _______ as pd
2-
3-
df = pd.______('https://raw.githubusercontent.com/LinkedEarth/Pyleoclim_util/master/example_data/soi_data.csv',skiprows=0, header=1)
4-
df.head()
1+
------------

exercises/exc_01_02.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
# Copy, paste, and run any code from Project Pythia's readings.
2-
# Feel free to change some of the values so that you see
3-
# how it behaves.
1+
mylist =[___]
2+
3+
for item in ___:
4+
print(___)

exercises/exc_01_03.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
import json
1+
# Create the dictionary
22

3-
# This code will run relative to the root of the repo, so we can load files
4-
with open("exercises/bookquotes.json") as f:
5-
DATA = json.loads(f.read())
3+
dataset1 = {
4+
"archiveType":_____,
5+
_____________,
6+
}
67

7-
# Print the first record in the DATA
8-
print(___[____])
8+
print(dataset1)
9+
# return latitude into a variable
910

10-
# Assign the length of DATA to some_var
11-
some_var = ___
11+
latitude = _________
12+
13+
print(latitude)

exercises/exc_01_04.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Create the dictionary
2+
3+
mydict = {'archiveType':'coral',
4+
'Publication':{'author':'J. Doe','title':'The most important record'}}
5+
6+
#print the keys
7+
8+
mydict.keys()

0 commit comments

Comments
 (0)