Skip to content

Commit 3461c4c

Browse files
committed
feat(lec06): release
1 parent eb71d63 commit 3461c4c

File tree

7 files changed

+5
-4
lines changed

7 files changed

+5
-4
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

_quarto.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ website:
6767
text: "Variables and Variable Types"
6868
- href: 05-variables/units-of-analysis.qmd
6969
text: "Units of Analysis"
70-
- section: "L06: Observational Studies"
71-
href: 06-observational-studies/index.qmd
70+
- section: "L06: Variables II"
71+
href: 06-variables-ii/index.qmd
7272
contents:
73-
- href: 06-observational-studies/index.qmd
73+
- href: 06-variables-ii/index.qmd
7474
text: "Causality vs. EDA"
75-
- href: 06-observational-studies/sample-population.qmd
75+
- href: 06-variables-ii/sample-population.qmd
7676
text: "Sample vs. Population"
7777
- href: five-things.qmd
7878
text: "5 Things to Know"

reference.qmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ In the function above, `my_function` is the name of the function, which takes on
5959
| `np.append(arr, item)` | Appends `item` to the end of `arr`. Does not modify the original array. | 1. **array** to append to <br> 2. item to append (any type) | **array**: a new array with the appended item |
6060
| `np.cumsum(arr)` | Returns the cumulative sum of the elements in `arr`, where each element is the sum of all preceding elements including itself | **array** | **array**: the cumulative sum of the values in the array |
6161
| `np.diff(arr)` | Computes the difference between consecutive elements in `arr`. | **array** | **array**: the differences between consecutive elements in the array containing `len(arr) - 1` elements |
62+
| `np.sort(arr)` | Sorts an array in ascending order. | **array** | `None` |
6263

6364

6465

0 commit comments

Comments
 (0)