Spaces:
Runtime error
Runtime error
Akshay Agrawal Copilot Autofix powered by AI commited on
index.md -> readme.md; add molab links (#145)
Browse filesThis PR renames index.md to README.md so the files render on GitHub. It
also adds open in molab links so users can actually run the notebooks
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
- altair/README.md +27 -0
- altair/index.md +0 -14
- bin/build.py +2 -2
- bin/extract.py +3 -3
- duckdb/README.md +26 -0
- duckdb/index.md +0 -16
- optimization/{index.md → README.md} +12 -0
- polars/README.md +37 -0
- polars/index.md +0 -17
- probability/README.md +42 -0
- probability/index.md +0 -16
- python/README.md +27 -0
- python/index.md +0 -12
- queueing/README.md +33 -0
- queueing/index.md +0 -15
- sql/README.md +25 -0
- sql/index.md +0 -14
- tools/README.md +14 -0
- tools/index.md +0 -6
altair/README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Learn Altair
|
| 3 |
+
description: >
|
| 4 |
+
Learn the basics of Altair, a high-performance visualization library,
|
| 5 |
+
using lessons developed at the University of Washington.
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
You can open and run these notebooks in [molab](https://molab.marimo.io), marimo's free hosted notebook platform.
|
| 9 |
+
|
| 10 |
+
## Notebooks
|
| 11 |
+
|
| 12 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/altair/01_introduction.py) Introduction to Altair
|
| 13 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/altair/02_marks_encoding.py) Data Types, Graphical Marks, and Visual Encoding Channels
|
| 14 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/altair/03_data_transformation.py) Data Transformation
|
| 15 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/altair/04_scales_axes_legends.py) Scales, Axes, and Legends
|
| 16 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/altair/05_view_composition.py) Multi-View Composition
|
| 17 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/altair/06_interaction.py) Interaction
|
| 18 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/altair/07_cartographic.py) Cartographic Visualization
|
| 19 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/altair/08_debugging.py) Altair Debugging Guide
|
| 20 |
+
|
| 21 |
+
## Acknowledgments
|
| 22 |
+
|
| 23 |
+
These notebooks were created by Jeffrey Heer, Dominik Moritz, Jake VanderPlas, and Brock Craft
|
| 24 |
+
as part of the [Visualization Curriculum](https://uwdata.github.io/visualization-curriculum/intro.html)
|
| 25 |
+
at the University of Washington.
|
| 26 |
+
Our thanks to the authors for making their work available under an open license:
|
| 27 |
+
if we all share a little, we all get a lot.
|
altair/index.md
DELETED
|
@@ -1,14 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
title: Learn Altair
|
| 3 |
-
description: >
|
| 4 |
-
Learn the basics of Altair, a high-performance visualization library,
|
| 5 |
-
using lessons developed at the University of Washington.
|
| 6 |
-
---
|
| 7 |
-
|
| 8 |
-
## Acknowledgments
|
| 9 |
-
|
| 10 |
-
These notebooks were created by Jeffrey Heer, Dominik Moritz, Jake VanderPlas, and Brock Craft
|
| 11 |
-
as part of the [Visualization Curriculum](https://uwdata.github.io/visualization-curriculum/intro.html)
|
| 12 |
-
at the University of Washington.
|
| 13 |
-
Our thanks to the authors for making their work available under an open license:
|
| 14 |
-
if we all share a little, we all get a lot.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bin/build.py
CHANGED
|
@@ -30,8 +30,8 @@ def transform_lessons(data: dict, root: Path, branch: str) -> dict:
|
|
| 30 |
}
|
| 31 |
for nb in course.get("notebooks", [])
|
| 32 |
]
|
| 33 |
-
|
| 34 |
-
post = frontmatter.load(
|
| 35 |
course["body_html"] = md.markdown(post.content, extensions=["fenced_code", "tables"])
|
| 36 |
return data
|
| 37 |
|
|
|
|
| 30 |
}
|
| 31 |
for nb in course.get("notebooks", [])
|
| 32 |
]
|
| 33 |
+
readme_md = root / course_id / "README.md"
|
| 34 |
+
post = frontmatter.load(readme_md)
|
| 35 |
course["body_html"] = md.markdown(post.content, extensions=["fenced_code", "tables"])
|
| 36 |
return data
|
| 37 |
|
bin/extract.py
CHANGED
|
@@ -14,9 +14,9 @@ NOTEBOOK_PATTERN = re.compile(r"^\d{2}_.*\.py$")
|
|
| 14 |
|
| 15 |
def extract_lessons(root: Path) -> dict:
|
| 16 |
lessons = {}
|
| 17 |
-
for
|
| 18 |
-
lesson_dir =
|
| 19 |
-
post = frontmatter.load(
|
| 20 |
notebooks = sorted(
|
| 21 |
p.name
|
| 22 |
for p in lesson_dir.glob("*.py")
|
|
|
|
| 14 |
|
| 15 |
def extract_lessons(root: Path) -> dict:
|
| 16 |
lessons = {}
|
| 17 |
+
for readme_file in sorted(root.glob("*/README.md")):
|
| 18 |
+
lesson_dir = readme_file.parent
|
| 19 |
+
post = frontmatter.load(readme_file)
|
| 20 |
notebooks = sorted(
|
| 21 |
p.name
|
| 22 |
for p in lesson_dir.glob("*.py")
|
duckdb/README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Learn DuckDB
|
| 3 |
+
description: >
|
| 4 |
+
These notebooks teach you the basics of DuckDB,
|
| 5 |
+
a fast in-memory database engine that can interoperate
|
| 6 |
+
with dataframes, and show how marimo gives DuckDB superpowers.
|
| 7 |
+
tracking: 48
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
You can open and run these notebooks in [molab](https://molab.marimo.io), marimo's free hosted notebook platform.
|
| 11 |
+
|
| 12 |
+
## Notebooks
|
| 13 |
+
|
| 14 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/duckdb/01_getting_started.py) What is DuckDB?
|
| 15 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/duckdb/08_loading_parquet.py) Loading Parquet files with DuckDB
|
| 16 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/duckdb/09_loading_json.py) Loading JSON
|
| 17 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/duckdb/11_working_with_apache_arrow.py) Working with Apache Arrow
|
| 18 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/duckdb/DuckDB_Loading_CSVs.py) Loading CSVs
|
| 19 |
+
|
| 20 |
+
## Contributors
|
| 21 |
+
|
| 22 |
+
Thanks to our notebook authors:
|
| 23 |
+
|
| 24 |
+
* [Mustjaab](https://github.com/Mustjaab)
|
| 25 |
+
* [julius383](https://github.com/julius383)
|
| 26 |
+
* [thliang01](https://github.com/thliang01)
|
duckdb/index.md
DELETED
|
@@ -1,16 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
title: Learn DuckDB
|
| 3 |
-
description: >
|
| 4 |
-
These notebooks teach you the basics of DuckDB,
|
| 5 |
-
a fast in-memory database engine that can interoperate
|
| 6 |
-
with dataframes, and show how marimo gives DuckDB superpowers.
|
| 7 |
-
tracking: 48
|
| 8 |
-
---
|
| 9 |
-
|
| 10 |
-
## Contributors
|
| 11 |
-
|
| 12 |
-
Thanks to our notebook authors:
|
| 13 |
-
|
| 14 |
-
* [Mustjaab](https://github.com/Mustjaab)
|
| 15 |
-
* [julius383](https://github.com/julius383)
|
| 16 |
-
* [thliang01](https://github.com/thliang01)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
optimization/{index.md → README.md}
RENAMED
|
@@ -6,11 +6,23 @@ description: >
|
|
| 6 |
allocation in finance, and other areas.
|
| 7 |
---
|
| 8 |
|
|
|
|
|
|
|
| 9 |
After working through these notebooks, you'll understand how to create
|
| 10 |
and solve optimization problems using Python's
|
| 11 |
[CVXPY](https://github.com/cvxpy/cvxpy) library, as well as how to
|
| 12 |
apply what you've learned to real-world problems.
|
| 13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |

|
| 15 |
|
| 16 |
_SpaceX solves convex optimization problems onboard to land its rockets, using CVXGEN, a code generator for quadratic programming developed at Stephen Boyd's Stanford lab. Photo by SpaceX, licensed CC BY-NC 2.0._
|
|
|
|
| 6 |
allocation in finance, and other areas.
|
| 7 |
---
|
| 8 |
|
| 9 |
+
You can open and run these notebooks in [molab](https://molab.marimo.io), marimo's free hosted notebook platform.
|
| 10 |
+
|
| 11 |
After working through these notebooks, you'll understand how to create
|
| 12 |
and solve optimization problems using Python's
|
| 13 |
[CVXPY](https://github.com/cvxpy/cvxpy) library, as well as how to
|
| 14 |
apply what you've learned to real-world problems.
|
| 15 |
|
| 16 |
+
## Notebooks
|
| 17 |
+
|
| 18 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/optimization/01_least_squares.py) Least Squares
|
| 19 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/optimization/02_linear_program.py) Linear Program
|
| 20 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/optimization/03_minimum_fuel_optimal_control.py) Minimal Fuel Optimal Control
|
| 21 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/optimization/04_quadratic_program.py) Quadratic Program
|
| 22 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/optimization/05_portfolio_optimization.py) Portfolio Optimization
|
| 23 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/optimization/06_convex_optimization.py) Convex Optimization
|
| 24 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/optimization/07_sdp.py) Semidefinite Program
|
| 25 |
+
|
| 26 |

|
| 27 |
|
| 28 |
_SpaceX solves convex optimization problems onboard to land its rockets, using CVXGEN, a code generator for quadratic programming developed at Stephen Boyd's Stanford lab. Photo by SpaceX, licensed CC BY-NC 2.0._
|
polars/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Learn Polars
|
| 3 |
+
description: >
|
| 4 |
+
Learn the basics of data wrangling with a high-performance Python library
|
| 5 |
+
called Polars.
|
| 6 |
+
tracking: 40
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
You can open and run these notebooks in [molab](https://molab.marimo.io), marimo's free hosted notebook platform.
|
| 10 |
+
|
| 11 |
+
## Notebooks
|
| 12 |
+
|
| 13 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/polars/01_why_polars.py) An introduction to Polars
|
| 14 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/polars/02_dataframes.py) DataFrames
|
| 15 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/polars/03_loading_data.py) Loading Data
|
| 16 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/polars/04_basic_operations.py) Basic operations on data
|
| 17 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/polars/05_reactive_plots.py) Reactive Plots
|
| 18 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/polars/06_dataframe_transformer.py) Polars with Marimo's Dataframe Transformer
|
| 19 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/polars/07_querying_with_sql.py) SQL Features in Marimo and Polars
|
| 20 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/polars/08_working_with_columns.py) Working with Columns
|
| 21 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/polars/09_data_types.py) Data Types
|
| 22 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/polars/10_strings.py) Strings
|
| 23 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/polars/11_missing_data.py) Dealing with Missing Data
|
| 24 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/polars/12_aggregations.py) Aggregations
|
| 25 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/polars/13_window_functions.py) Window Functions
|
| 26 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/polars/14_user_defined_functions.py) User-Defined Functions
|
| 27 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/polars/16_lazy_execution.py) Lazy Execution
|
| 28 |
+
|
| 29 |
+
## Contributors
|
| 30 |
+
|
| 31 |
+
Thanks to our notebook authors:
|
| 32 |
+
|
| 33 |
+
* [Koushik Khan](https://github.com/koushikkhan)
|
| 34 |
+
* [Péter Gyarmati](https://github.com/peter-gy)
|
| 35 |
+
* [Joram Mutenge](https://github.com/jorammutenge)
|
| 36 |
+
* [etrotta](https://github.com/etrotta)
|
| 37 |
+
* [Debajyoti Das](https://github.com/debajyotid2)
|
polars/index.md
DELETED
|
@@ -1,17 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
title: Learn Polars
|
| 3 |
-
description: >
|
| 4 |
-
Learn the basics of data wrangling with a high-performance Python library
|
| 5 |
-
called Polars.
|
| 6 |
-
tracking: 40
|
| 7 |
-
---
|
| 8 |
-
|
| 9 |
-
## Contributors
|
| 10 |
-
|
| 11 |
-
Thanks to our notebook authors:
|
| 12 |
-
|
| 13 |
-
* [Koushik Khan](https://github.com/koushikkhan)
|
| 14 |
-
* [Péter Gyarmati](https://github.com/peter-gy)
|
| 15 |
-
* [Joram Mutenge](https://github.com/jorammutenge)
|
| 16 |
-
* [etrotta](https://github.com/etrotta)
|
| 17 |
-
* [Debajyoti Das](https://github.com/debajyotid2)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
probability/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Learn Probability
|
| 3 |
+
description: >
|
| 4 |
+
These marimo notebooks teach the fundamentals of probability with
|
| 5 |
+
an emphasis on interactive learning and computation in Python.
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
You can open and run these notebooks in [molab](https://molab.marimo.io), marimo's free hosted notebook platform.
|
| 9 |
+
|
| 10 |
+
Much of the structure and many explanations are adapted from Chris Piech's
|
| 11 |
+
[Probability for Computer Scientists](https://chrispiech.github.io/probabilityForComputerScientists/en/index.html)
|
| 12 |
+
course reader.
|
| 13 |
+
|
| 14 |
+
## Notebooks
|
| 15 |
+
|
| 16 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/probability/01_sets.py) Sets
|
| 17 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/probability/02_axioms.py) Axioms of Probability
|
| 18 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/probability/03_probability_of_or.py) Probability of Or
|
| 19 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/probability/04_conditional_probability.py) Conditional Probability
|
| 20 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/probability/05_independence.py) Independence in Probability Theory
|
| 21 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/probability/06_probability_of_and.py) Probability of And
|
| 22 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/probability/07_law_of_total_probability.py) Law of Total Probability
|
| 23 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/probability/08_bayes_theorem.py) Bayes' Theorem
|
| 24 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/probability/09_random_variables.py) Random Variables
|
| 25 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/probability/10_probability_mass_function.py) Probability Mass Functions
|
| 26 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/probability/11_expectation.py) Expectation
|
| 27 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/probability/12_variance.py) Variance
|
| 28 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/probability/13_bernoulli_distribution.py) Bernoulli Distribution
|
| 29 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/probability/14_binomial_distribution.py) Binomial Distribution
|
| 30 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/probability/15_poisson_distribution.py) Poisson Distribution
|
| 31 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/probability/16_continuous_distribution.py) Continuous Distributions
|
| 32 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/probability/17_normal_distribution.py) Normal Distribution
|
| 33 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/probability/18_central_limit_theorem.py) Central Limit Theorem
|
| 34 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/probability/19_maximum_likelihood_estimation.py) Maximum Likelihood Estimation
|
| 35 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/probability/20_naive_bayes.py) Naive Bayes Classification
|
| 36 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/probability/21_logistic_regression.py) Logistic Regression
|
| 37 |
+
|
| 38 |
+
## Contributors
|
| 39 |
+
|
| 40 |
+
Thanks to our notebook authors:
|
| 41 |
+
|
| 42 |
+
* [Srihari Thyagarajan](https://github.com/Haleshot)
|
probability/index.md
DELETED
|
@@ -1,16 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
title: Learn Probability
|
| 3 |
-
description: >
|
| 4 |
-
These marimo notebooks teach the fundamental of probability with
|
| 5 |
-
an emphasis on interactive learning and computation in Python.
|
| 6 |
-
---
|
| 7 |
-
|
| 8 |
-
Much of the structure and many explanations are adapted from Chris Piech's
|
| 9 |
-
[Probability for Computer Scientists](https://chrispiech.github.io/probabilityForComputerScientists/en/index.html)
|
| 10 |
-
course reader.
|
| 11 |
-
|
| 12 |
-
## Contributors
|
| 13 |
-
|
| 14 |
-
Thanks to our notebook authors:
|
| 15 |
-
|
| 16 |
-
* [Srihari Thyagarajan](https://github.com/Haleshot)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
python/README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Learn Python
|
| 3 |
+
description: >
|
| 4 |
+
These notebooks will help you learn the basics of Python
|
| 5 |
+
programming in an easy, interactive way.
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
You can open and run these notebooks in [molab](https://molab.marimo.io), marimo's free hosted notebook platform.
|
| 9 |
+
|
| 10 |
+
## Notebooks
|
| 11 |
+
|
| 12 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/python/01_numbers.py) Numbers
|
| 13 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/python/02_strings.py) Strings
|
| 14 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/python/03_collections.py) Collections
|
| 15 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/python/04_conditional_logic.py) Conditional logic
|
| 16 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/python/05_loops.py) Loops
|
| 17 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/python/06_dictionaries.py) Dictionaries
|
| 18 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/python/07_advanced_collections.py) Advanced Collections
|
| 19 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/python/08_functions.py) Functions
|
| 20 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/python/09_modules.py) Using Modules
|
| 21 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/python/10_exceptions.py) Handling Errors
|
| 22 |
+
|
| 23 |
+
## Contributors
|
| 24 |
+
|
| 25 |
+
Thanks to our notebook authors:
|
| 26 |
+
|
| 27 |
+
* [Srihari Thyagarajan](https://github.com/Haleshot)
|
python/index.md
DELETED
|
@@ -1,12 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
title: Learn Python
|
| 3 |
-
description: >
|
| 4 |
-
These notebooks will help you learn the basics of Python
|
| 5 |
-
programming in an easy, interactive way.
|
| 6 |
-
---
|
| 7 |
-
|
| 8 |
-
## Contributors
|
| 9 |
-
|
| 10 |
-
Thanks to our notebook authors:
|
| 11 |
-
|
| 12 |
-
* [Srihari Thyagarajan](https://github.com/Haleshot)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
queueing/README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Learn Queueing Theory
|
| 3 |
+
description: >
|
| 4 |
+
Why is your line always slower than the other one? Why do
|
| 5 |
+
traffic jams happen without any apparent cause? These lessons
|
| 6 |
+
use a mixture of queueing theory and simulation to explain
|
| 7 |
+
these scenarios and others.
|
| 8 |
+
tracking: 136
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
You can open and run these notebooks in [molab](https://molab.marimo.io), marimo's free hosted notebook platform.
|
| 12 |
+
|
| 13 |
+
## Notebooks
|
| 14 |
+
|
| 15 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/queueing/01_basic_ideas.py) Basic Ideas in Queueing Theory
|
| 16 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/queueing/02_queue_formation.py) Queue Formation
|
| 17 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/queueing/03_littles_law.py) Little's Law
|
| 18 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/queueing/04_sojourn_time.py) Sojourn Time
|
| 19 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/queueing/05_mm1_nonlinearity.py) M/M/1 Queue Nonlinearity
|
| 20 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/queueing/06_pooled_vs_separate.py) Pooled vs. Separate Queues
|
| 21 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/queueing/07_late_merge.py) Late Merge
|
| 22 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/queueing/08_inspectors_paradox.py) The Inspector's Paradox
|
| 23 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/queueing/09_convoy_effect.py) The Convoy Effect
|
| 24 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/queueing/10_priority_starvation.py) Priority Starvation
|
| 25 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/queueing/11_tandem_queue.py) Tandem Queue Blocking
|
| 26 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/queueing/12_rush_hour.py) Rush Hour Displacement
|
| 27 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/queueing/13_braess_paradox.py) Braess's Paradox
|
| 28 |
+
|
| 29 |
+
## Contributors
|
| 30 |
+
|
| 31 |
+
Thanks to our notebook authors:
|
| 32 |
+
|
| 33 |
+
* [Greg Wilson](https://github.com/gvwilson)
|
queueing/index.md
DELETED
|
@@ -1,15 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
title: Learn Queueing Theory
|
| 3 |
-
description: >
|
| 4 |
-
Why is your line always slower than the other one? Why do
|
| 5 |
-
traffic jams happen without any apparent cause? These lessons
|
| 6 |
-
use a mixture of queueing theory and simulation to explain
|
| 7 |
-
these scenarios and others.
|
| 8 |
-
tracking: 136
|
| 9 |
-
---
|
| 10 |
-
|
| 11 |
-
## Contributors
|
| 12 |
-
|
| 13 |
-
Thanks to our notebook authors:
|
| 14 |
-
|
| 15 |
-
* [Greg Wilson](https://github.com/gvwilson)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sql/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Learn SQL
|
| 3 |
+
description: >
|
| 4 |
+
Learn the basics of SQL, the industry standard for interacting
|
| 5 |
+
with relational databases. These notebooks also show how easy
|
| 6 |
+
it is to work with relational data in marimo.
|
| 7 |
+
tracking: 133
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
You can open and run these notebooks in [molab](https://molab.marimo.io), marimo's free hosted notebook platform.
|
| 11 |
+
|
| 12 |
+
## Notebooks
|
| 13 |
+
|
| 14 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/sql/01_basic_select.py) Basic Selection
|
| 15 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/sql/02_filter.py) Filtering
|
| 16 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/sql/03_aggregate_group.py) Aggregating and Grouping
|
| 17 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/sql/04_null.py) Missing Data
|
| 18 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/sql/05_join.py) Combining Tables
|
| 19 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/sql/06_keys.py) Primary and Foreign Keys
|
| 20 |
+
|
| 21 |
+
## Contributors
|
| 22 |
+
|
| 23 |
+
Thanks to our notebook authors:
|
| 24 |
+
|
| 25 |
+
* [Greg Wilson](https://github.com/gvwilson)
|
sql/index.md
DELETED
|
@@ -1,14 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
title: Learn SQL
|
| 3 |
-
description: >
|
| 4 |
-
Learn the basics of SQL, the industry standard for interacting
|
| 5 |
-
with relational databases. These notebooks also show how easy
|
| 6 |
-
it is to work with relational data in marimo.
|
| 7 |
-
tracking: 133
|
| 8 |
-
---
|
| 9 |
-
|
| 10 |
-
## Contributors
|
| 11 |
-
|
| 12 |
-
Thanks to our notebook authors:
|
| 13 |
-
|
| 14 |
-
* [Greg Wilson](https://github.com/gvwilson)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tools/README.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Tools
|
| 3 |
+
description: >
|
| 4 |
+
These notebooks show how to integrate educational widgets
|
| 5 |
+
and other tools into your notebooks.
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
You can open and run these notebooks in [molab](https://molab.marimo.io), marimo's free hosted notebook platform.
|
| 9 |
+
|
| 10 |
+
## Notebooks
|
| 11 |
+
|
| 12 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/tools/01_wiggly.py) wigglystuff Widgets
|
| 13 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/tools/02_formative.py) Formative Assessment Widgets
|
| 14 |
+
- [](https://molab.marimo.io/github/marimo-team/learn/blob/main/tools/03_turtles.py) Turtle Graphics
|
tools/index.md
DELETED
|
@@ -1,6 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
title: Tools
|
| 3 |
-
description: >
|
| 4 |
-
These notebooks show how to integrate educational widgets
|
| 5 |
-
and other tools into your notebooks.
|
| 6 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|