Skip to content

Commit

Permalink
Merge pull request #27 from fhdsl/S4
Browse files Browse the repository at this point in the history
plot blob
  • Loading branch information
caalo authored Sep 10, 2024
2 parents 839a765 + 4e945be commit 5f74cf7
Show file tree
Hide file tree
Showing 4 changed files with 330 additions and 85 deletions.
2 changes: 1 addition & 1 deletion 05-data-visualization.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ expression = pd.read_csv("classroom_data/expression.csv")
To create a histogram, we use the function [`sns.displot()`](https://seaborn.pydata.org/generated/seaborn.displot.html) and we specify the input argument `data` as our dataframe, and the input argument `x` as the column name in a String.

```{python}
sns.displot(data=metadata, x="Age")
plot = sns.displot(data=metadata, x="Age")
```

A common parameter to consider when making histogram is how big the bins are. You can specify the bin width via `binwidth` argument, or the number of bins via `bins` argument.
Expand Down
58 changes: 0 additions & 58 deletions slides/W1.ipynb

This file was deleted.

26 changes: 0 additions & 26 deletions slides/W1.qmd

This file was deleted.

Loading

0 comments on commit 5f74cf7

Please sign in to comment.