Skip to content

Commit 1e5dcb6

Browse files
author
Gordon Shotwell
committed
Update website
1 parent 51fd0ad commit 1e5dcb6

Some content is hidden

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

69 files changed

+104
-3173
lines changed

_quarto.yml

Lines changed: 2 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -5,40 +5,8 @@ website:
55
title: "Shiny for Python Workshop"
66
sidebar:
77
contents:
8-
- section: "Getting Started"
9-
contents:
10-
- slides/getting-started.qmd
11-
- section: "Exercises"
12-
contents:
13-
- exercises/1-hello-world.qmd
14-
- exercises/2-debug.qmd
15-
- exercises/3-add-filter.qmd
16-
- exercises/4-add-plot.qmd
17-
- section: "Reactivity"
18-
contents:
19-
- slides/reactivity.qmd
20-
- section: "Exercises"
21-
contents:
22-
- exercises/5-reactivity.qmd
23-
- exercises/6-reactive-event.qmd
24-
- exercises/7-reactive-effects.qmd
25-
- section: "UI Customization"
26-
contents:
27-
- slides/ui-customization.qmd
28-
- section: "Exercises"
29-
contents:
30-
- exercises/8-navsets.qmd
31-
- exercises/9-cards.qmd
32-
- exercises/10-layout.qmd
33-
- exercises/11-value-boxes.qmd
34-
- exercises/12-dynamic-ui.qmd
35-
- section: "Best practices"
36-
contents:
37-
- slides/workflow-best-practices.qmd
38-
- section: "Exercises"
39-
contents:
40-
- exercises/13-ui-functions.qmd
41-
- exercises/14-extract-functions.qmd
8+
- exercises/1-hello-world.qmd
9+
4210
navbar:
4311
tools:
4412
- icon: github

apps/problem-sets/1-getting-started/1.1-data-frame/app-solution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import pandas as pd
33
from pathlib import Path
44

5-
infile = Path(__file__).parent / "model_data.csv"
5+
infile = Path(__file__).parent / "simulated-data.csv"
66
df = pd.read_csv(infile)
77
df = df.drop(columns=["text"])
88

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pandas
2+
plotly
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Add the right `@render` decorator to the `penguins_df` function to get the data frame to render.
1+
This app is not rendering properly, can you figure out what's wrong?

apps/problem-sets/1-getting-started/1.2-debug/app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
infile = Path(__file__).parent / "model_data.csv"
66
df = pd.read_csv(infile)
7+
df = df.drop(columns=["text"])
78

89

910
@render.plot
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pandas
2+
plotly
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Add a select input to the app which lets the user select one of the accounts. For reference the account list is:
2+
`["Berge & Berge", "Fritsch & Fritsch", "Hintz & Hintz", "Mosciski and Sons", "Wolff Ltd"`
3+
]`

0 commit comments

Comments
 (0)