Skip to content

Commit cd77e2c

Browse files
committed
Update <head> tags
1 parent 999d8a5 commit cd77e2c

File tree

5 files changed

+180
-36
lines changed

5 files changed

+180
-36
lines changed

notebooks/3-data_visualization.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
"import pandas as pd\n",
175175
"\n",
176176
"tsa_melted_holiday_travel = pd.read_csv(\n",
177-
" '../data/tsa_melted_holiday_travel.csv', \n",
177+
" '../data/tsa_melted_holiday_travel.csv',\n",
178178
" parse_dates=True, index_col='date'\n",
179179
")\n",
180180
"tsa_melted_holiday_travel.head()"
@@ -5341,7 +5341,7 @@
53415341
"tags": []
53425342
},
53435343
"source": [
5344-
"*Tip: If you're new to the `zip()` function, check out [this](https://realpython.com/python-zip-function/) article.*"
5344+
"*Tip: If you're new to the `zip()` function, check out [this article](https://realpython.com/python-zip-function/).*"
53455345
]
53465346
},
53475347
{

slides/3-data_visualization.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
"import pandas as pd\n",
220220
"\n",
221221
"tsa_melted_holiday_travel = pd.read_csv(\n",
222-
" '../data/tsa_melted_holiday_travel.csv', \n",
222+
" '../data/tsa_melted_holiday_travel.csv',\n",
223223
" parse_dates=True, index_col='date'\n",
224224
")\n",
225225
"tsa_melted_holiday_travel.head()"
@@ -5396,7 +5396,7 @@
53965396
"tags": []
53975397
},
53985398
"source": [
5399-
"*Tip: If you're new to the `zip()` function, check out [this](https://realpython.com/python-zip-function/) article.*"
5399+
"*Tip: If you're new to the `zip()` function, check out [this article](https://realpython.com/python-zip-function/).*"
54005400
]
54015401
},
54025402
{
@@ -16390,11 +16390,11 @@
1639016390
" for tick_label in ax.get_xticklabels():\n",
1639116391
" median = medians[int(tick_label.get_text())]\n",
1639216392
" ax.annotate(\n",
16393-
" f'{median / 1e6:.1f} M', \n",
16394-
" xy=(tick_label.get_position()[0], median), \n",
16393+
" f'{median / 1e6:.1f} M',\n",
16394+
" xy=(tick_label.get_position()[0], median),\n",
1639516395
" ha='center', va='bottom'\n",
1639616396
" )\n",
16397-
" \n",
16397+
"\n",
1639816398
" return ax"
1639916399
]
1640016400
},

slides/html/workshop.slides.html

Lines changed: 73 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,61 @@
11
<!DOCTYPE html>
22
<html>
3-
<head><meta charset="utf-8" />
3+
<head><!-- Google tag (gtag.js) -->
4+
<script
5+
async
6+
src="https://www.googletagmanager.com/gtag/js?id=G-25389D1SR4"></script>
7+
<script>
8+
window.dataLayer = window.dataLayer || [];
9+
function gtag() {
10+
dataLayer.push(arguments);
11+
}
12+
gtag("js", new Date());
13+
14+
gtag("config", "G-25389D1SR4");
15+
</script>
16+
<meta charset="utf-8" />
417
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
518

619
<meta name="apple-mobile-web-app-capable" content="yes" />
720
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
821

9-
<title>Introduction to Data Analysis Using Pandas workshop slides &ndash; Stefanie Molin</title>
10-
<link rel="shortcut icon" type="image/x-icon" href="/favicon/favicon.ico">
11-
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
12-
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script>
22+
<meta name="theme-color" content="#000" />
23+
<meta name="twitter:card" content="summary_large_image" />
24+
<meta name="twitter:site" content="@StefanieMolin" />
25+
<meta name="twitter:creator" content="@StefanieMolin" />
26+
<meta property="og:type" content="website" />
27+
<meta property="og:locale" content="en_US" />
28+
<meta property="og:site_name" content="Stefanie Molin" />
29+
<meta name="author" content="Stefanie Molin" />
30+
<meta name="referrer" content="origin" />
31+
<meta
32+
name="keywords"
33+
content="technology, workshop, data visualization, Python, data science, slides" />
34+
<link rel="manifest" href="/favicon/site.webmanifest" />
35+
<meta
36+
property="og:url"
37+
content="https://stefaniemolin.com/pandas-workshop/" />
38+
<meta name="robots" content="index,follow" />
39+
<meta
40+
name="description"
41+
content="Working with data can be challenging: it often doesn't come in the best format for analysis, and understanding it well enough to extract insights requires both time and the skills to filter, aggregate, reshape, and visualize it. This session will equip you with the knowledge you need to effectively use pandas - a powerful library for data analysis in Python - to make this process easier." />
42+
<meta
43+
property="og:title"
44+
content="Introduction to Data Analysis Using Pandas workshop slides | Stefanie Molin" />
45+
<meta
46+
property="og:description"
47+
content="Working with data can be challenging: it often doesn't come in the best format for analysis, and understanding it well enough to extract insights requires both time and the skills to filter, aggregate, reshape, and visualize it. This session will equip you with the knowledge you need to effectively use pandas - a powerful library for data analysis in Python - to make this process easier." />
48+
<meta
49+
property="og:image"
50+
content="https://ogcdn.net/e4b8c678-7bd5-445d-ba03-bfaad510c686/v3/stefaniemolin.com/Introduction%20to%20Data%20Analysis%20Using%20Pandas%20workshop%20slides/https%3A%2F%2Fhips.hearstapps.com%2Felleuk.cdnds.net%2F16%2F36%2F3200x1599%2Fgallery-1473083573-pandas.jpg/og.png" />
51+
<meta
52+
property="og:image:alt"
53+
content="Introduction to Data Analysis Using Pandas workshop slides" />
54+
<meta property="og:image:width" content="3200" />
55+
<meta property="og:image:height" content="1599" />
56+
57+
<title>Introduction to Data Analysis Using Pandas workshop slides | Stefanie Molin</title>
58+
<link rel="shortcut icon" type="image/x-icon" href="/favicon/favicon.ico"><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script>
1359

1460
<!-- General and theme style sheets -->
1561
<link rel="stylesheet" href="https://unpkg.com/reveal.js@4.0.2/dist/reveal.css">
@@ -45191,32 +45237,32 @@ <h1 id="Thank-you!">Thank you!<a class="anchor-link" href="#Thank-you!">&#182;</
4519145237
<div style="text-align: center; flex-basis: auto; flex-shrink: 2;">
4519245238
<img class="qr-code" width="20%" src="https://raw.githubusercontent.com/stefmolin/pandas-workshop/main/media/qr-code.png">
4519345239
</div>
45194-
<div style="flex-basis: 45em; flex-grow: 2; font-size: 80%;">
45195-
<div style="display: flex; justify-content: flex-start; align-items: center;">
45196-
<i class="fa fa-globe fa-2x fa-fw" style="padding-right: 4px"></i>
45197-
<a href="https://stefaniemolin.com" rel="noopener noreferrer" style="font-size: 2em;">
45198-
stefaniemolin.com
45199-
</a>
45200-
</div>
45201-
<div style="display: flex; justify-content: flex-start; align-items: center;">
45202-
<i class="fab fa-github fa-2x fa-fw" style="padding-right: 4px"></i>
45203-
<a href="https://github.com/stefmolin" rel="noopener noreferrer" style="font-size: 2em;" target="_blank">
45204-
github.com/stefmolin
45205-
</a>
45206-
</div>
45207-
<div style="display: flex; justify-content: flex-start; align-items: center;">
45208-
<i class="fab fa-twitter fa-2x fa-fw" style="padding-right: 4px"></i>
45209-
<a href="https://twitter.com/StefanieMolin" rel="noopener noreferrer" style="font-size: 2em;" target="_blank">
45210-
twitter.com/StefanieMolin
45211-
</a>
45212-
</div>
45240+
<div style="flex-basis: 45em; flex-grow: 2; font-size: 80%;">
4521345241
<div style="display: flex; justify-content: flex-start; align-items: center;">
45214-
<i class="fab fa-linkedin-in fa-2x fa-fw" style="padding-right: 4px"></i>
45215-
<a href="https://linkedin.com/in/stefanie-molin" rel="noopener noreferrer" style="font-size: 2em;" target="_blank">
45216-
linkedin.com/in/stefanie-molin
45242+
<i class="fa fa-globe fa-2x fa-fw" style="padding-right: 4px"></i>
45243+
<a href="https://stefaniemolin.com" rel="noopener noreferrer" style="font-size: 2em;">
45244+
stefaniemolin.com
4521745245
</a>
4521845246
</div>
45247+
<div style="display: flex; justify-content: flex-start; align-items: center;">
45248+
<i class="fab fa-github fa-2x fa-fw" style="padding-right: 4px"></i>
45249+
<a href="https://github.com/stefmolin" rel="noopener noreferrer" style="font-size: 2em;" target="_blank">
45250+
github.com/stefmolin
45251+
</a>
4521945252
</div>
45253+
<div style="display: flex; justify-content: flex-start; align-items: center;">
45254+
<i class="fab fa-twitter fa-2x fa-fw" style="padding-right: 4px"></i>
45255+
<a href="https://twitter.com/StefanieMolin" rel="noopener noreferrer" style="font-size: 2em;" target="_blank">
45256+
twitter.com/StefanieMolin
45257+
</a>
45258+
</div>
45259+
<div style="display: flex; justify-content: flex-start; align-items: center;">
45260+
<i class="fab fa-linkedin-in fa-2x fa-fw" style="padding-right: 4px"></i>
45261+
<a href="https://linkedin.com/in/stefanie-molin" rel="noopener noreferrer" style="font-size: 2em;" target="_blank">
45262+
linkedin.com/in/stefanie-molin
45263+
</a>
45264+
</div>
45265+
</div>
4522045266
</div>
4522145267

4522245268
</div>

slides/templates/larger_font/index.html.j2

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
{% set nb_title = nb.metadata.get('title', '') or resources['metadata']['name'] %}
44
{% set repo_name = 'pandas-workshop' %}
55
{% set svg_plot_max_height = 650 %}
6+
{% set description = "Working with data can be challenging: it often doesn't come in the best format for analysis, and understanding it well enough to extract insights requires both time and the skills to filter, aggregate, reshape, and visualize it. This session will equip you with the knowledge you need to effectively use pandas - a powerful library for data analysis in Python - to make this process easier." %}
67

78
{% from 'mathjax.html.j2' import mathjax %}
89
{% from 'jupyter_widgets.html.j2' import jupyter_widgets %}
@@ -19,13 +20,61 @@
1920
<head>
2021

2122
{%- block html_head -%}
23+
<!-- Google tag (gtag.js) -->
24+
<script
25+
async
26+
src="https://www.googletagmanager.com/gtag/js?id=G-25389D1SR4"></script>
27+
<script>
28+
window.dataLayer = window.dataLayer || [];
29+
function gtag() {
30+
dataLayer.push(arguments);
31+
}
32+
gtag("js", new Date());
33+
34+
gtag("config", "G-25389D1SR4");
35+
</script>
2236
<meta charset="utf-8" />
2337
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
2438

2539
<meta name="apple-mobile-web-app-capable" content="yes" />
2640
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
2741

28-
<title>{{title}} {{nb_title}} slides &ndash; Stefanie Molin</title>
42+
<meta name="theme-color" content="#000" />
43+
<meta name="twitter:card" content="summary_large_image" />
44+
<meta name="twitter:site" content="@StefanieMolin" />
45+
<meta name="twitter:creator" content="@StefanieMolin" />
46+
<meta property="og:type" content="website" />
47+
<meta property="og:locale" content="en_US" />
48+
<meta property="og:site_name" content="Stefanie Molin" />
49+
<meta name="author" content="Stefanie Molin" />
50+
<meta name="referrer" content="origin" />
51+
<meta
52+
name="keywords"
53+
content="technology, workshop, data visualization, Python, data science, slides" />
54+
<link rel="manifest" href="/favicon/site.webmanifest" />
55+
<meta
56+
property="og:url"
57+
content="https://stefaniemolin.com/{{repo_name}}/" />
58+
<meta name="robots" content="index,follow" />
59+
<meta
60+
name="description"
61+
content="{{description}}" />
62+
<meta
63+
property="og:title"
64+
content="{{title}} {{nb_title}} slides | Stefanie Molin" />
65+
<meta
66+
property="og:description"
67+
content="{{description}}" />
68+
<meta
69+
property="og:image"
70+
content="https://ogcdn.net/e4b8c678-7bd5-445d-ba03-bfaad510c686/v3/stefaniemolin.com/Introduction%20to%20Data%20Analysis%20Using%20Pandas%20workshop%20slides/https%3A%2F%2Fhips.hearstapps.com%2Felleuk.cdnds.net%2F16%2F36%2F3200x1599%2Fgallery-1473083573-pandas.jpg/og.png" />
71+
<meta
72+
property="og:image:alt"
73+
content="{{title}} {{nb_title}} slides" />
74+
<meta property="og:image:width" content="3200" />
75+
<meta property="og:image:height" content="1599" />
76+
77+
<title>{{title}} {{nb_title}} slides | Stefanie Molin</title>
2978
<link rel="shortcut icon" type="image/x-icon" href="/favicon/favicon.ico">
3079

3180
{%- block html_head_js -%}

slides/templates/regular/index.html.j2

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
{% set nb_title = nb.metadata.get('title', '') or resources['metadata']['name'] %}
44
{% set repo_name = 'pandas-workshop' %}
55
{% set svg_plot_max_height = 300 %}
6+
{% set description = "Working with data can be challenging: it often doesn't come in the best format for analysis, and understanding it well enough to extract insights requires both time and the skills to filter, aggregate, reshape, and visualize it. This session will equip you with the knowledge you need to effectively use pandas - a powerful library for data analysis in Python - to make this process easier." %}
67

78
{% from 'mathjax.html.j2' import mathjax %}
89
{% from 'jupyter_widgets.html.j2' import jupyter_widgets %}
@@ -19,13 +20,61 @@
1920
<head>
2021

2122
{%- block html_head -%}
23+
<!-- Google tag (gtag.js) -->
24+
<script
25+
async
26+
src="https://www.googletagmanager.com/gtag/js?id=G-25389D1SR4"></script>
27+
<script>
28+
window.dataLayer = window.dataLayer || [];
29+
function gtag() {
30+
dataLayer.push(arguments);
31+
}
32+
gtag("js", new Date());
33+
34+
gtag("config", "G-25389D1SR4");
35+
</script>
2236
<meta charset="utf-8" />
2337
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
2438

2539
<meta name="apple-mobile-web-app-capable" content="yes" />
2640
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
2741

28-
<title>{{title}} {{nb_title}} slides &ndash; Stefanie Molin</title>
42+
<meta name="theme-color" content="#000" />
43+
<meta name="twitter:card" content="summary_large_image" />
44+
<meta name="twitter:site" content="@StefanieMolin" />
45+
<meta name="twitter:creator" content="@StefanieMolin" />
46+
<meta property="og:type" content="website" />
47+
<meta property="og:locale" content="en_US" />
48+
<meta property="og:site_name" content="Stefanie Molin" />
49+
<meta name="author" content="Stefanie Molin" />
50+
<meta name="referrer" content="origin" />
51+
<meta
52+
name="keywords"
53+
content="technology, workshop, data visualization, Python, data science, slides" />
54+
<link rel="manifest" href="/favicon/site.webmanifest" />
55+
<meta
56+
property="og:url"
57+
content="https://stefaniemolin.com/{{repo_name}}/" />
58+
<meta name="robots" content="index,follow" />
59+
<meta
60+
name="description"
61+
content="{{description}}" />
62+
<meta
63+
property="og:title"
64+
content="{{title}} {{nb_title}} slides | Stefanie Molin" />
65+
<meta
66+
property="og:description"
67+
content="{{description}}" />
68+
<meta
69+
property="og:image"
70+
content="https://ogcdn.net/e4b8c678-7bd5-445d-ba03-bfaad510c686/v3/stefaniemolin.com/Introduction%20to%20Data%20Analysis%20Using%20Pandas%20workshop%20slides/https%3A%2F%2Fhips.hearstapps.com%2Felleuk.cdnds.net%2F16%2F36%2F3200x1599%2Fgallery-1473083573-pandas.jpg/og.png" />
71+
<meta
72+
property="og:image:alt"
73+
content="{{title}} {{nb_title}} slides" />
74+
<meta property="og:image:width" content="3200" />
75+
<meta property="og:image:height" content="1599" />
76+
77+
<title>{{title}} {{nb_title}} slides | Stefanie Molin</title>
2978
<link rel="shortcut icon" type="image/x-icon" href="/favicon/favicon.ico">
3079

3180
{%- block html_head_js -%}

0 commit comments

Comments
 (0)