Skip to content

Commit

Permalink
#10 change index to include numpy notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
ephes committed Oct 22, 2023
1 parent 53a660e commit 389985b
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 9 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Data Science Tutorial

<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

## Numpy

Numpy is the basis of a lot of stuff in related to data science in
Python. Here’s a [notebook](numpy.ipynb) covering the base features.

## Pandas
20 changes: 20 additions & 0 deletions _quarto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
project:
type: website

format:
html:
theme: cosmo
css: styles.css
toc: true

website:
twitter-card: true
open-graph: true
repo-actions: [issue]
navbar:
background: primary
search: true
sidebar:
style: floating

metadata-files: [nbdev.yml, sidebar.yml]
4 changes: 2 additions & 2 deletions index.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"source": [
"# Data Science Tutorial\n",
"\n",
"This is the overview notebook."
"This tutorial covers topics that are relevant or interesting for me for some kind of reason 😄. Have fun!"
]
},
{
Expand All @@ -17,7 +17,7 @@
"source": [
"## Numpy\n",
"\n",
"Link to [Numpy Tutorial](tutorial/numpy_pandas/numpy.ipynb)"
"Numpy is the basis of a lot of stuff in related to data science in Python. Here's a [notebook](numpy.ipynb) covering the base features."
]
},
{
Expand Down
9 changes: 9 additions & 0 deletions nbdev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
project:
output-dir: _docs

website:
title: "Data Science Tutorial"
site-url: "https://ephes.github.io/data_science_tutorial"
description: "Python data science and machine learning tutorial"
repo-branch: main
repo-url: "https://github.com/ephes/data_science_tutorial"
14 changes: 7 additions & 7 deletions numpy.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## ? help / ??\n",
"## ? / help / ??\n",
"\n",
"- Just append a `?` to an item to see the docstring or call `help(item)`\n",
"- Append `??` to view the source"
Expand Down Expand Up @@ -396,7 +396,7 @@
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mValueError\u001b[0m Traceback (most recent call last)",
"Cell \u001b[0;32mIn[35], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m \u001b[43ma\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m@\u001b[39;49m\u001b[43m \u001b[49m\u001b[43mc\u001b[49m\n",
"Cell \u001b[0;32mIn[22], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m \u001b[43ma\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m@\u001b[39;49m\u001b[43m \u001b[49m\u001b[43mc\u001b[49m\n",
"\u001b[0;31mValueError\u001b[0m: matmul: Input operand 1 has a mismatch in its core dimension 0, with gufunc signature (n?,k),(k,m?)->(n?,m?) (size 4 is different from 3)"
]
}
Expand Down Expand Up @@ -552,7 +552,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"39.3 ms ± 600 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)\n"
"38.6 ms ± 472 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)\n"
]
}
],
Expand All @@ -571,7 +571,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"858 µs ± 19 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)\n"
"837 µs ± 18.5 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)\n"
]
}
],
Expand Down Expand Up @@ -605,7 +605,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"27.4 ms ± 306 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)\n"
"27 ms ± 128 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)\n"
]
}
],
Expand Down Expand Up @@ -635,7 +635,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"70.3 ms ± 1.21 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)\n"
"78.9 ms ± 468 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)\n"
]
}
],
Expand All @@ -656,7 +656,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"2.18 ms ± 9.55 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)\n"
"2.22 ms ± 30.7 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)\n"
]
}
],
Expand Down
5 changes: 5 additions & 0 deletions sidebar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
website:
sidebar:
contents:
- index.ipynb
- numpy.ipynb

0 comments on commit 389985b

Please sign in to comment.