Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
chaz-clark committed Oct 29, 2024
1 parent a9b1cbb commit 730445f
Show file tree
Hide file tree
Showing 6 changed files with 113 additions and 116 deletions.
Binary file added .DS_Store
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@
WHERE type='table'
'''
table = pd.read_sql_query(q,con)
table.filter(['name'])
table.filter(['name'])
# %%
14 changes: 14 additions & 0 deletions Templates/DS250_Template.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,20 @@ display(mydat)
```

## Question|Task 4

__COPY PASTE QUESTION|TASK 3 FROM THE PROJECT HERE__

- _PROVIDE TABLES THAT HELP ADDRESS THE QUESTIONS AND TASKS (IF APPLICABLE)._

```{python}
#| label: Q4-table
#| code-summary: table example
#| tbl-cap: "table example"
#| tbl-cap-location: top
# Include and execute your code here
```

Note: Non executing Python `Snippets` include (3) \`\`\` followed by (3) more \`\`\`, each on their own line. These are not single quotes, they are the key left of the number 1 key on the keyboard. The top row can include the language of code that is pasted inbetween the \`\`\` marks.

Expand Down
2 changes: 2 additions & 0 deletions Templates/ds250_coding_challenge_template.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ format:
import pandas as pd
import numpy as np
from lets_plot import *
LetsPlot.setup_html(isolated_frame=True)
```

```{python}
Expand Down
95 changes: 94 additions & 1 deletion Templates/ds250_project_template_clean.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import pandas as pd
import numpy as np
from lets_plot import *
LetsPlot.setup_html()
LetsPlot.setup_html(isolated_frame=True)
```


Expand Down Expand Up @@ -86,6 +86,7 @@ _include figures in chunks and discuss your findings in the figure._
#| code-summary: table example
#| tbl-cap: "Not much of a table"
#| tbl-cap-location: top
# Include and execute your code here
mydat = (df.head(1000)
.groupby('year')
Expand Down Expand Up @@ -192,3 +193,95 @@ _include figures in chunks and discuss your findings in the figure._
# display(mydat)
```

## QUESTION|TASK 4

__COPY PASTE QUESTION|TASK 3 FROM THE PROJECT HERE__

_type your results and analysis here_

```{python}
#| label: Q4
#| code-summary: Read and format data
# Include and execute your code here
```

_include figures in chunks and discuss your findings in the figure._

```{python}
#| label: Q4-chart
#| code-summary: plot example
#| fig-cap: "My useless chart"
#| fig-align: center
# Include and execute your code here
# Include and execute your code here
# (
# ggplot(df.head(200), aes(x='name', y='AK')) + geom_bar(stat='identity')
# )
```


```{python}
#| label: Q4-table
#| code-summary: table example
#| tbl-cap: "Not much of a table"
#| tbl-cap-location: top
# Include and execute your code here
# mydat = df.head(1000)\
# .groupby('year')\
# .sum()\
# .reset_index()\
# .tail(10)\
# .filter(["year", "AK","AR"])
# display(mydat)
```

## QUESTION|TASK 5

__COPY PASTE QUESTION|TASK 3 FROM THE PROJECT HERE__

_type your results and analysis here_

```{python}
#| label: Q5
#| code-summary: Read and format data
# Include and execute your code here
```

_include figures in chunks and discuss your findings in the figure._

```{python}
#| label: Q5-chart
#| code-summary: plot example
#| fig-cap: "My useless chart"
#| fig-align: center
# Include and execute your code here
# Include and execute your code here
# (
# ggplot(df.head(200), aes(x='name', y='AK')) + geom_bar(stat='identity')
# )
```


```{python}
#| label: Q5-table
#| code-summary: table example
#| tbl-cap: "Not much of a table"
#| tbl-cap-location: top
# Include and execute your code here
# mydat = df.head(1000)\
# .groupby('year')\
# .sum()\
# .reset_index()\
# .tail(10)\
# .filter(["year", "AK","AR"])
# display(mydat)
```
115 changes: 1 addition & 114 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,7 @@ website:
- text: "My Resume"
file: resume.qmd
- text: "DS250 Projects"
file: 250_projects.qmd
# - text: "DS350 Projects"
# file: 350_projects.qmd
# - text: "DS450 Projects"
# file: 450_projects.qmd
# - text: "DS460 Projects"
# file: 460_projects.qmd
file: 250_projects.qmds

sidebar:
- title: "DS 250 Projects"
Expand Down Expand Up @@ -64,113 +58,6 @@ website:
file: 250_Projects/project6.qmd
- text: "---"

# - title: "DS 350 Projects"
# style: "docked"
# background: light
# contents:
# - text: "DS350 Projects"
# file: 350_projects.qmd
# - text: "---"
# - text: "Week 1"
# file: 350_Projects/week_01.qmd
# - text: "---"
# - text: "Week 2"
# file: 350_Projects/week_02.qmd
# - text: "---"
# - text: "Week 3"
# file: 350_Projects/week_03.qmd
# - text: "---"
# - text: "Week 4"
# file: 350_Projects/week_04.qmd
# - text: "---"
# - text: "Week 5"
# file: 350_Projects/week_05.qmd
# - text: "---"
# - text: "Week 6"
# file: 350_Projects/week_06.qmd
# - text: "---"
# - text: "Week 7"
# file: 350_Projects/week_07.qmd
# - text: "---"
# - text: "Week 8"
# file: 350_Projects/week_08.qmd
# - text: "---"
# - text: "Week 9"
# file: 350_Projects/week_09.qmd
# - text: "---"
# - text: "Week 10"
# file: 350_Projects/week_10.qmd
# - text: "---"
# - text: "Week 11"
# file: 350_Projects/week_11.qmd
# - text: "---"
# - text: "Week 12"
# file: 350_Projects/week_12.qmd
# - text: "---"
# - text: "Week 13"
# file: 350_Projects/week_13.qmd

# - title: "DS 450 Projects"
# style: "docked"
# background: light
# contents:
# - text: "DS450 Projects"
# file: 450_projects.qmd
# - text: "---"
# - text: "Project 0"
# file: 450_Projects/project0.qmd
# - text: "---"
# - text: "Project 1"
# file: 450_Projects/project1.qmd
# - text: "---"
# - text: "Project 2"
# file: 450_Projects/project2.qmd
# - text: "---"
# - text: "Project 3"
# file: 450_Projects/project3.qmd
# - text: "---"
# - text: "Project 4"
# file: 450_Projects/project4.qmd
# - text: "---"
# - text: "Project 5"
# file: 450_Projects/project5.qmd
# - text: "---"
# - text: "Project 6"
# file: 450_Projects/project6.qmd
# - text: "---"

# - title: "DS 460 Projects"
# style: "docked"
# background: light
# contents:
# - text: "DS450 Projects"
# file: 460_projects.qmd
# - text: "---"
# - text: "Project 0"
# file: 460_Projects/project0.qmd
# - text: "---"
# - text: "Project 1"
# file: 460_Projects/project1.qmd
# - text: "---"
# - text: "Project 2"
# file: 460_Projects/project2.qmd
# - text: "---"
# - text: "Project 3"
# file: 460_Projects/project3.qmd
# - text: "---"
# - text: "Project 4"
# file: 460_Projects/project4.qmd
# - text: "---"
# - text: "Project 5"
# file: 460_Projects/project5.qmd
# - text: "---"
# - text: "Project 6"
# file: 460_Projects/project6.qmd
# - text: "---"

#continue the pattern if you need more links
#copy paste from title and keep it indented to sidebar to add additonal sidebar navigation for other pages

format:
html:
theme: #see this link to customize the theme with css (https://quarto.org/docs/output-formats/html-themes.html#dark-mode)
Expand Down

0 comments on commit 730445f

Please sign in to comment.