diff --git a/Python/Module1_GettingStartedWithPython/GettingStartedWithPython.md b/Python/Module1_GettingStartedWithPython/GettingStartedWithPython.md
index 3728d2b0..de452330 100644
--- a/Python/Module1_GettingStartedWithPython/GettingStartedWithPython.md
+++ b/Python/Module1_GettingStartedWithPython/GettingStartedWithPython.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Basic description of the Python programming language, Difficulty: Easy, Category: Background
:keywords: python, install, basics, scripts, interpreter, foundations
-```
+
# Introducing the Python Programming Language
diff --git a/Python/Module1_GettingStartedWithPython/Getting_Started_With_IDEs_and_Notebooks.md b/Python/Module1_GettingStartedWithPython/Getting_Started_With_IDEs_and_Notebooks.md
index c1ada19f..7c0766a3 100644
--- a/Python/Module1_GettingStartedWithPython/Getting_Started_With_IDEs_and_Notebooks.md
+++ b/Python/Module1_GettingStartedWithPython/Getting_Started_With_IDEs_and_Notebooks.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Integrated Development Environments, Difficulty: Easy, Category: Tools
:keywords: python, introduction, IDE, PyCharm, VSCode, Jupyter, recommendation, tools
-```
+
# Setting Up a Development Environment
## What You Will Learn
diff --git a/Python/Module1_GettingStartedWithPython/Informal_Intro_Python.md b/Python/Module1_GettingStartedWithPython/Informal_Intro_Python.md
index aa53eea6..5620659e 100644
--- a/Python/Module1_GettingStartedWithPython/Informal_Intro_Python.md
+++ b/Python/Module1_GettingStartedWithPython/Informal_Intro_Python.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Informal Introduction to Python, Difficulty: Easy, Category: Tutorial
:keywords: python, installation, script, introduction, ipython, console, quick introduction
-```
+
# An Informal Introduction to Python
Now that you have the Anaconda distribution of Python installed on your machine, let's write some simple Python code! We are going to forego writing a full Python script for now, and instead make use of a convenient tool for doing quick code scratchwork. The IPython console was installed as a part of Anaconda; it will allow us to build incrementally off of snippets of code, instead of having to execute an entire script all at once.
diff --git a/Python/Module1_GettingStartedWithPython/Installing_Python.md b/Python/Module1_GettingStartedWithPython/Installing_Python.md
index eb1e42bb..6a3a7e70 100644
--- a/Python/Module1_GettingStartedWithPython/Installing_Python.md
+++ b/Python/Module1_GettingStartedWithPython/Installing_Python.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Installing Python with Anaconda, Difficulty: Easy, Category: Tutorial
:keywords: python, anaconda, instructions, environments, beginner, data science, introduction
-```
+
## Installing Python
diff --git a/Python/Module1_GettingStartedWithPython/Jupyter_Notebooks.md b/Python/Module1_GettingStartedWithPython/Jupyter_Notebooks.md
index 9b63e963..cb89cd9b 100644
--- a/Python/Module1_GettingStartedWithPython/Jupyter_Notebooks.md
+++ b/Python/Module1_GettingStartedWithPython/Jupyter_Notebooks.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Jupyter notebooks, Difficulty: Easy, Category: Tutorial
:keywords: jupyter, notebook, kernel, basics, server, console, command line, plot, beginner, data science
-```
+
# Jupyter Notebooks
In recent years, the Jupyter Notebook has become a massively popular tool for doing research-oriented work in Python and other languages alike. Its emergence marked a paradigm shift in the way data science is conducted.
diff --git a/Python/Module1_GettingStartedWithPython/Numerical_Work_In_Python.md b/Python/Module1_GettingStartedWithPython/Numerical_Work_In_Python.md
index 5ec2450e..113bb289 100644
--- a/Python/Module1_GettingStartedWithPython/Numerical_Work_In_Python.md
+++ b/Python/Module1_GettingStartedWithPython/Numerical_Work_In_Python.md
@@ -4,8 +4,8 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
diff --git a/Python/Module1_GettingStartedWithPython/SiteFormatting.md b/Python/Module1_GettingStartedWithPython/SiteFormatting.md
index f5f71a49..85bc7ade 100644
--- a/Python/Module1_GettingStartedWithPython/SiteFormatting.md
+++ b/Python/Module1_GettingStartedWithPython/SiteFormatting.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Overview of formatting in Python Like You Mean It, Difficulty: Easy, Category: Instructions
:keywords: overview, formatting, background, code block, console style
-```
+
# A Quick Guide to Formatting
diff --git a/Python/Module2_EssentialsOfPython/Basic_Objects.md b/Python/Module2_EssentialsOfPython/Basic_Objects.md
index aefed226..8c963de9 100644
--- a/Python/Module2_EssentialsOfPython/Basic_Objects.md
+++ b/Python/Module2_EssentialsOfPython/Basic_Objects.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Basics of Python Objects, Difficulty: Easy, Category: Section
:keywords: integers, booleans, floats, floating point precision, lists, strings, fundamentals
-```
+
# Basic Object Types
diff --git a/Python/Module2_EssentialsOfPython/ConditionalStatements.md b/Python/Module2_EssentialsOfPython/ConditionalStatements.md
index 95af737f..6f930c53 100644
--- a/Python/Module2_EssentialsOfPython/ConditionalStatements.md
+++ b/Python/Module2_EssentialsOfPython/ConditionalStatements.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Conditional Statements, Difficulty: Easy, Category: Section
:keywords: if, else, elif, inline if, switch statement, comparison operator, bool, truth, is operator
-```
+
# Conditional Statements
diff --git a/Python/Module2_EssentialsOfPython/DataStructures.md b/Python/Module2_EssentialsOfPython/DataStructures.md
index f7889e76..76b1ae63 100644
--- a/Python/Module2_EssentialsOfPython/DataStructures.md
+++ b/Python/Module2_EssentialsOfPython/DataStructures.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Data Structures, Difficulty: Medium, Category: Section
:keywords: Big-O, complexity, efficiency, algorithm, interview preparation, list, tuple, sequence
-```
+
# Data Structures (Part I): Introduction
diff --git a/Python/Module2_EssentialsOfPython/DataStructures_III_Sets_and_More.md b/Python/Module2_EssentialsOfPython/DataStructures_III_Sets_and_More.md
index 5cc59ade..e8d438cd 100644
--- a/Python/Module2_EssentialsOfPython/DataStructures_III_Sets_and_More.md
+++ b/Python/Module2_EssentialsOfPython/DataStructures_III_Sets_and_More.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Introduction to Sets, Difficulty: Medium, Category: Section
:keywords: set, complexity, comparison, union, intersection, membership, hashing, lookup, interview preparation
-```
+
# Data Structures (Part III): Sets & the Collections Module
diff --git a/Python/Module2_EssentialsOfPython/DataStructures_II_Dictionaries.md b/Python/Module2_EssentialsOfPython/DataStructures_II_Dictionaries.md
index 5333500b..76a0437b 100644
--- a/Python/Module2_EssentialsOfPython/DataStructures_II_Dictionaries.md
+++ b/Python/Module2_EssentialsOfPython/DataStructures_II_Dictionaries.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Introduction to Dictionaries, Difficulty: Medium, Category: Section
:keywords: dictionary, complexity, key, value, iteration, get item, hashing, lookup, interview preparation
-```
+
# Data Structures (Part II): Dictionaries
Python's dictionary allows you to store key-value pairs, and then pass the dictionary a key to quickly retrieve its corresponding value. Specifically, you construct the dictionary by specifying one-way mappings from key-objects to value-objects. **Each key must map to exactly one value**, meaning that a key must be unique.
diff --git a/Python/Module2_EssentialsOfPython/ForLoops.md b/Python/Module2_EssentialsOfPython/ForLoops.md
index 4b37e619..70bc1909 100644
--- a/Python/Module2_EssentialsOfPython/ForLoops.md
+++ b/Python/Module2_EssentialsOfPython/ForLoops.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Contorl flow with for-loops and while-loops, Difficulty: Easy, Category: Section
:keywords: for-loop, while-loop, break, control flow, basic programming
-```
+
# For-Loops and While-Loops
In this section, we will introduce the essential "for-loop" control flow paradigm along with the formal definition of an "iterable". The utility of these items cannot be understated. Moving forward, you will likely find use for these concepts in nearly every piece of Python code that you write!
diff --git a/Python/Module2_EssentialsOfPython/Functions.md b/Python/Module2_EssentialsOfPython/Functions.md
index a2d8c6c5..c10810d1 100644
--- a/Python/Module2_EssentialsOfPython/Functions.md
+++ b/Python/Module2_EssentialsOfPython/Functions.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Functions and Function Signatures, Difficulty: Medium, Category: Section
:keywords: functions, *args, **kwargs, signature, default parameter, docstring, return, vowel count, syntax, basics
-```
+
# Basics of Functions
diff --git a/Python/Module2_EssentialsOfPython/Generators_and_Comprehensions.md b/Python/Module2_EssentialsOfPython/Generators_and_Comprehensions.md
index 7baae451..9bfcd36e 100644
--- a/Python/Module2_EssentialsOfPython/Generators_and_Comprehensions.md
+++ b/Python/Module2_EssentialsOfPython/Generators_and_Comprehensions.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: generators comprehensions and efficiency, Difficulty: Easy, Category: Section
:keywords: generator, range, list comprehension, generator comprehension, nested comprehensions, inline for-loop, filtered, iterator
-```
+
# Generators & Comprehension Expressions
diff --git a/Python/Module2_EssentialsOfPython/Introduction.md b/Python/Module2_EssentialsOfPython/Introduction.md
index 6bbf1be7..cee3372d 100644
--- a/Python/Module2_EssentialsOfPython/Introduction.md
+++ b/Python/Module2_EssentialsOfPython/Introduction.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: introduction to control flow, Difficulty: Easy, Category: Section
:keywords: overview, summary, if, else, function, for-loop, if, else, control flow
-```
+
# Introducing Control Flow
diff --git a/Python/Module2_EssentialsOfPython/Iterables.md b/Python/Module2_EssentialsOfPython/Iterables.md
index 5eb7fc49..cba4fb79 100644
--- a/Python/Module2_EssentialsOfPython/Iterables.md
+++ b/Python/Module2_EssentialsOfPython/Iterables.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: the basics of iterables in python, Difficulty: Medium, Category: Section
:keywords: iterables, max, min, sum, all, any, itertools, enumerate, unpack
-```
+
# Iterables
Our encounter with for-loops introduced the term *iterable* - an object that can be "iterated over", such as in a for-loop.
diff --git a/Python/Module2_EssentialsOfPython/Itertools.md b/Python/Module2_EssentialsOfPython/Itertools.md
index 3b6ec9eb..93ad576c 100644
--- a/Python/Module2_EssentialsOfPython/Itertools.md
+++ b/Python/Module2_EssentialsOfPython/Itertools.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: simple use cases of python itertools, Difficulty: Easy, Category: Tutorial
:keywords: itertools, examples, zip, range, enumerate, chain, combinations
-```
+
# Python's "Itertools"
diff --git a/Python/Module2_EssentialsOfPython/Problems/DifferenceFanout.md b/Python/Module2_EssentialsOfPython/Problems/DifferenceFanout.md
index e56ab94e..961551c5 100644
--- a/Python/Module2_EssentialsOfPython/Problems/DifferenceFanout.md
+++ b/Python/Module2_EssentialsOfPython/Problems/DifferenceFanout.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: For-Loop Exercise, Difficulty: Easy, Category: Practice Problem
:keywords: for loops, list, function, list comprehension, practice problem
-```
+
diff --git a/Python/Module2_EssentialsOfPython/Problems/EncodeAsString.md b/Python/Module2_EssentialsOfPython/Problems/EncodeAsString.md
index 19af2c47..77dc08f4 100644
--- a/Python/Module2_EssentialsOfPython/Problems/EncodeAsString.md
+++ b/Python/Module2_EssentialsOfPython/Problems/EncodeAsString.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: String Encoding Exercise, Difficulty: Medium, Category: Practice Problem
:keywords: function, string, casting, practice problem
-```
+
# Encode as String
Sometimes it is very important to handle different input object types differently in a function. This problem will exercise your understanding of types, control-flow, dictionaries, and more.
diff --git a/Python/Module2_EssentialsOfPython/Problems/MarginPercentage.md b/Python/Module2_EssentialsOfPython/Problems/MarginPercentage.md
index d8b24c81..7b98827e 100644
--- a/Python/Module2_EssentialsOfPython/Problems/MarginPercentage.md
+++ b/Python/Module2_EssentialsOfPython/Problems/MarginPercentage.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Within Margin Exercise, Difficulty: Medium, Category: Practice Problem
:keywords: function, control flow, comparisons, practice problem
-```
+
# Within Margin Percentage
diff --git a/Python/Module2_EssentialsOfPython/Problems/MergeMaxDicts.md b/Python/Module2_EssentialsOfPython/Problems/MergeMaxDicts.md
index f5293e78..1258279a 100644
--- a/Python/Module2_EssentialsOfPython/Problems/MergeMaxDicts.md
+++ b/Python/Module2_EssentialsOfPython/Problems/MergeMaxDicts.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Dictionary Merge Exercise, Difficulty: Easy, Category: Practice Problem
:keywords: dictionary, merge, practice problem
-```
+
# Merging Two Dictionaries
diff --git a/Python/Module2_EssentialsOfPython/Problems/Palindrome.md b/Python/Module2_EssentialsOfPython/Problems/Palindrome.md
index 4921dcbe..34c846c5 100644
--- a/Python/Module2_EssentialsOfPython/Problems/Palindrome.md
+++ b/Python/Module2_EssentialsOfPython/Problems/Palindrome.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Palindrome Exercise, Difficulty: Easy, Category: Practice Problem
:keywords: string, palindrome, practice problem
-```
+
# Is Palindrome
diff --git a/Python/Module2_EssentialsOfPython/Scope.md b/Python/Module2_EssentialsOfPython/Scope.md
index b784bdd4..76728d25 100644
--- a/Python/Module2_EssentialsOfPython/Scope.md
+++ b/Python/Module2_EssentialsOfPython/Scope.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: variable score and namespaces in python, Difficulty: Medium, Category: Section
:keywords: variable, namespace, function, scope, shadowing
-```
+
# Scope
diff --git a/Python/Module2_EssentialsOfPython/SequenceTypes.md b/Python/Module2_EssentialsOfPython/SequenceTypes.md
index 25790196..6e7bc76e 100644
--- a/Python/Module2_EssentialsOfPython/SequenceTypes.md
+++ b/Python/Module2_EssentialsOfPython/SequenceTypes.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: understanding python sequences, Difficulty: Easy, Category: Section
:keywords: list, tuple, string, slice, index, negative index, get item, pop, append, examples
-```
+
# Sequence Types
diff --git a/Python/Module2_EssentialsOfPython/Variables_and_Assignment.md b/Python/Module2_EssentialsOfPython/Variables_and_Assignment.md
index 9e317466..c66f73b5 100644
--- a/Python/Module2_EssentialsOfPython/Variables_and_Assignment.md
+++ b/Python/Module2_EssentialsOfPython/Variables_and_Assignment.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: variable naming and assignment, Difficulty: Medium, Category: Section
:keywords: variable naming, valid names, mutable, immutable, reference, pointer
-```
+
# Variables & Assignment
diff --git a/Python/Module3_IntroducingNumpy/AccessingDataAlongMultipleDimensions.md b/Python/Module3_IntroducingNumpy/AccessingDataAlongMultipleDimensions.md
index 85f78fe4..a314dcdc 100644
--- a/Python/Module3_IntroducingNumpy/AccessingDataAlongMultipleDimensions.md
+++ b/Python/Module3_IntroducingNumpy/AccessingDataAlongMultipleDimensions.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Indexing into multi-dimensional numpy arrays, Difficulty: Easy, Category: Section
:keywords: numpy array, multidimensional, index, slice, negative index, rows, columns
-```
+
# Accessing Data Along Multiple Dimensions in an Array
diff --git a/Python/Module3_IntroducingNumpy/AdvancedIndexing.md b/Python/Module3_IntroducingNumpy/AdvancedIndexing.md
index cc91851d..d6382aae 100644
--- a/Python/Module3_IntroducingNumpy/AdvancedIndexing.md
+++ b/Python/Module3_IntroducingNumpy/AdvancedIndexing.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Advanced indexing with numpy arrays, Difficulty: Hard, Category: Section
:keywords: numpy array, integer array indexing, boolean array indexing, copy indexing, advanced
-```
+
# Advanced Indexing
@@ -128,13 +128,11 @@ The instruction for accessing the contents of `y` in this way is straight-forwar
This returns a *copy* of the data, as do all occurrences of advanced indexing.
-
```python
# advanced indexing returns a copy
>>> np.shares_memory(y, y[index])
False
```
-
The indexing array can have an arbitrary shape; *the resulting array will match that shape*.
diff --git a/Python/Module3_IntroducingNumpy/ArrayTraversal.md b/Python/Module3_IntroducingNumpy/ArrayTraversal.md
index 115b2f34..f5e99fd8 100644
--- a/Python/Module3_IntroducingNumpy/ArrayTraversal.md
+++ b/Python/Module3_IntroducingNumpy/ArrayTraversal.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Numpy array traversal ordering, Difficulty: Medium, Category: Section
:keywords: row-major order, c order, column-major order, f order, traversal, array iteration
-```
+
# Iterating Over Arrays & Array-Traversal Order
In this section, you will learn:
diff --git a/Python/Module3_IntroducingNumpy/BasicArrayAttributes.md b/Python/Module3_IntroducingNumpy/BasicArrayAttributes.md
index 527ee446..bb566337 100644
--- a/Python/Module3_IntroducingNumpy/BasicArrayAttributes.md
+++ b/Python/Module3_IntroducingNumpy/BasicArrayAttributes.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Numpy array attributes, Difficulty: Easy, Category: Section
:keywords: ndim, shape, size, itemsize, dtype, examples
-```
+
# Basic Array Attributes
diff --git a/Python/Module3_IntroducingNumpy/BasicIndexing.md b/Python/Module3_IntroducingNumpy/BasicIndexing.md
index 5e61cdab..74ac7d46 100644
--- a/Python/Module3_IntroducingNumpy/BasicIndexing.md
+++ b/Python/Module3_IntroducingNumpy/BasicIndexing.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Numpy array basic indexing, Difficulty: Medium, Category: Section
:keywords: basic index, slice, no copy index, multidimensional array, nd array, view, reverse, axis
-```
+
# Introducing Basic and Advanced Indexing
diff --git a/Python/Module3_IntroducingNumpy/Broadcasting.md b/Python/Module3_IntroducingNumpy/Broadcasting.md
index 41a8f5a6..8e32547f 100644
--- a/Python/Module3_IntroducingNumpy/Broadcasting.md
+++ b/Python/Module3_IntroducingNumpy/Broadcasting.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Numpy array broadcasting, Difficulty: Medium, Category: Section
:keywords: broadcasting, vectorization, rules, mismatched shapes, distances
-```
+
# Array Broadcasting
diff --git a/Python/Module3_IntroducingNumpy/FunctionsForCreatingNumpyArrays.md b/Python/Module3_IntroducingNumpy/FunctionsForCreatingNumpyArrays.md
index 67f18ec4..06fb4ad5 100644
--- a/Python/Module3_IntroducingNumpy/FunctionsForCreatingNumpyArrays.md
+++ b/Python/Module3_IntroducingNumpy/FunctionsForCreatingNumpyArrays.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Creating numpy arrays, Difficulty: Easy, Category: Section
:keywords: create array, ndarray, ones, random, zeros, empty, examples, arange, linspace, reshape, hstack, vstack
-```
+
# Functions for Creating NumPy Arrays
diff --git a/Python/Module3_IntroducingNumpy/IntroducingTheNDarray.md b/Python/Module3_IntroducingNumpy/IntroducingTheNDarray.md
index a5c0ffa8..c7ad1c7e 100644
--- a/Python/Module3_IntroducingNumpy/IntroducingTheNDarray.md
+++ b/Python/Module3_IntroducingNumpy/IntroducingTheNDarray.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Introduction to numpy arrays, Difficulty: Easy, Category: Section
:keywords: numpy array, ndarray, introduction, overview
-```
+
# Introducing the ND-array
diff --git a/Python/Module3_IntroducingNumpy/Problems/ComputeAccuracy.md b/Python/Module3_IntroducingNumpy/Problems/ComputeAccuracy.md
index a4e7323d..c4e3a0ee 100644
--- a/Python/Module3_IntroducingNumpy/Problems/ComputeAccuracy.md
+++ b/Python/Module3_IntroducingNumpy/Problems/ComputeAccuracy.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Measuring classification accuracy, Difficulty: Easy, Category: Practice Problem
:keywords: numpy, vectorization, practice, machine learning, classifier
-```
+
# Measuring the Accuracy of a Classification Model
diff --git a/Python/Module3_IntroducingNumpy/VectorizedOperations.md b/Python/Module3_IntroducingNumpy/VectorizedOperations.md
index 48defb53..d7ddf841 100644
--- a/Python/Module3_IntroducingNumpy/VectorizedOperations.md
+++ b/Python/Module3_IntroducingNumpy/VectorizedOperations.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Vectorized operations with numpy arrays, Difficulty: Easy, Category: Section
:keywords: vectorize, optimized, calculation, numpy, fast, C routine, MKL, sum, linear algebra, optimized
-```
+
# "Vectorized" Operations: Optimized Computations on NumPy Arrays
@@ -322,7 +322,6 @@ You *can* apply binary NumPy functions to arrays of unlike shapes. For instance,
-
```python
# example of a binary function operating on two 2D arrays
>>> x = np.array([[10, 2],
@@ -339,7 +338,6 @@ array([[11, 2],
>>> x[:, 0] + y[1, :]
array([6, 2])
```
-
diff --git a/Python/Module4_OOP/Applications_of_OOP.md b/Python/Module4_OOP/Applications_of_OOP.md
index fdb32205..f7b1834e 100644
--- a/Python/Module4_OOP/Applications_of_OOP.md
+++ b/Python/Module4_OOP/Applications_of_OOP.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Applications of object-oriented programming, Difficulty: Medium, Category: Section
:keywords: summary, tutorial, python shopping list, object oriented, method, attribute
-```
+
# Applications of Object Oriented Programming
diff --git a/Python/Module4_OOP/Brief_Review.md b/Python/Module4_OOP/Brief_Review.md
index 94b3b9f1..b7c5067b 100644
--- a/Python/Module4_OOP/Brief_Review.md
+++ b/Python/Module4_OOP/Brief_Review.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Brief review of object oriented programming, Difficulty: Easy, Category: Tutorial
:keywords: class definition, simple, examples, overview, init, initialize, type, object
-```
+
## A Brief Summary of Terms and Concepts
diff --git a/Python/Module4_OOP/ClassDefinition.md b/Python/Module4_OOP/ClassDefinition.md
index 77bb461c..3b833717 100644
--- a/Python/Module4_OOP/ClassDefinition.md
+++ b/Python/Module4_OOP/ClassDefinition.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: The rules for defining classes in python, Difficulty: Easy, Category: Section
:keywords: class definition, scope, class object, attribute, method
-```
+
diff --git a/Python/Module4_OOP/ClassInstances.md b/Python/Module4_OOP/ClassInstances.md
index a7cfbe96..2998418c 100644
--- a/Python/Module4_OOP/ClassInstances.md
+++ b/Python/Module4_OOP/ClassInstances.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Class instances versus objects, Difficulty: Medium, Category: Section
:keywords: instance, class creation, init, self, isinstance
-```
+
# Instances of a Class
diff --git a/Python/Module4_OOP/Inheritance.md b/Python/Module4_OOP/Inheritance.md
index 95eda792..c5313dd2 100644
--- a/Python/Module4_OOP/Inheritance.md
+++ b/Python/Module4_OOP/Inheritance.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Class inheritance, Difficulty: Easy, Category: Section
:keywords: inherit, object oriented, overwrite, sub class, issubclass
-```
+
# Inheritance
diff --git a/Python/Module4_OOP/Introduction_to_OOP.md b/Python/Module4_OOP/Introduction_to_OOP.md
index a3e21e44..19f3dbba 100644
--- a/Python/Module4_OOP/Introduction_to_OOP.md
+++ b/Python/Module4_OOP/Introduction_to_OOP.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Introducing object oriented programming in python, Difficulty: Easy, Category: Section
:keywords: class, type, creation, definition, intro, overview, basics, meaning
-```
+
# Introduction to Object Oriented Programming
@@ -106,7 +106,6 @@ class Rectangle:
An instance of this `Rectangle` class is an individual rectangle whose *attributes* include its width, height, and center-location. Additionally, we can use the rectangle's *methods* (its attributes that are functions) to compute its area and the locations of its corners.
-
```python
# create a rectangle of width 4, height 10, centered at (0, 0)
# here __init__ is executed and the width/height/center attributes are set
@@ -125,7 +124,6 @@ Rectangle(width=4, height=10, center=(0, 0))
>>> rect1.compute_corners()
[(2.0, 5.0), (2.0, -5.0), (-2.0, -5.0), (-2.0, 5.0)]
```
-
Just like any other Python object that we have encountered, we can put our `Rectangle`s in lists, store them as values in dictionaries, pass them to functions, reference them with multiple variables, and so on.
diff --git a/Python/Module4_OOP/Methods.md b/Python/Module4_OOP/Methods.md
index 3e30d16e..87c1c321 100644
--- a/Python/Module4_OOP/Methods.md
+++ b/Python/Module4_OOP/Methods.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: The different kinds of class methods, Difficulty: Medium, Category: Section
:keywords: instance, class method, static method, property, abstract method, class funtion
-```
+
# Methods
diff --git a/Python/Module4_OOP/ObjectOrientedProgramming.md b/Python/Module4_OOP/ObjectOrientedProgramming.md
index 5138eb49..106b1337 100644
--- a/Python/Module4_OOP/ObjectOrientedProgramming.md
+++ b/Python/Module4_OOP/ObjectOrientedProgramming.md
@@ -4,8 +4,8 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
diff --git a/Python/Module4_OOP/Special_Methods.md b/Python/Module4_OOP/Special_Methods.md
index c1e9c780..f9f9f064 100644
--- a/Python/Module4_OOP/Special_Methods.md
+++ b/Python/Module4_OOP/Special_Methods.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Controlling behavior with special methods, Difficulty: Medium, Category: Section
:keywords: dunder method, special method, operator overload, repr, getitem, custom syntax, __init__
-```
+
# Special Methods
diff --git a/Python/Module5_OddsAndEnds/Modules_and_Packages.md b/Python/Module5_OddsAndEnds/Modules_and_Packages.md
index 40a39915..5b66b1cc 100644
--- a/Python/Module5_OddsAndEnds/Modules_and_Packages.md
+++ b/Python/Module5_OddsAndEnds/Modules_and_Packages.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Understanding imports modules and packages, Difficulty: Easy, Category: Section
:keywords: custom package, module, script, import, setup, pip, conda, relative import, absolute import
-```
+
# Import: Modules and Packages
diff --git a/Python/Module5_OddsAndEnds/WorkingWithFiles.md b/Python/Module5_OddsAndEnds/WorkingWithFiles.md
index e8fce932..af08b69b 100644
--- a/Python/Module5_OddsAndEnds/WorkingWithFiles.md
+++ b/Python/Module5_OddsAndEnds/WorkingWithFiles.md
@@ -4,19 +4,19 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
name: python3
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Working with aths and files, Difficulty: Medium, Category: Section
:keywords: open file, read file, pathlib, join directory, context manager, close file, rb, binary file, utf-8, encoding, pickle, numpy, load, archive, npy, npz, pkl, glob, read lines, write, save
-```
+
# Working with Files
This section will discuss the best practices for writing Python code that involves reading from and writing to files. We will learn about the built-in `pathlib.Path` object, which will help to ensure that the code that we write is portable across operating systems (OS) (e.g. Windows, MacOS, Linux). We will also be introduced to a *context manager*, `open`, which will permit us to read-from and write-to a file safely; by "safely" we mean that we will be assured that any file that we open will eventually be closed properly, so that it will not be corrupted even in the event that our code hits an error. Next, we will learn how to "glob" for files, meaning that we will learn to search for and list files whose names match specific patterns. Lastly, we will briefly encounter the `pickle` module which allows us to save (or "pickle") and load Python objects to and from your computer's file system.
diff --git a/Python/Module5_OddsAndEnds/Writing_Good_Code.md b/Python/Module5_OddsAndEnds/Writing_Good_Code.md
index 2ae43b2b..53547f71 100644
--- a/Python/Module5_OddsAndEnds/Writing_Good_Code.md
+++ b/Python/Module5_OddsAndEnds/Writing_Good_Code.md
@@ -4,8 +4,8 @@ jupyter:
text_representation:
extension: .md
format_name: markdown
- format_version: '1.1'
- jupytext_version: 1.1.0-rc0
+ format_version: '1.2'
+ jupytext_version: 1.3.0rc0
kernelspec:
display_name: Python 3
language: python
@@ -13,11 +13,11 @@ jupyter:
---
-```raw_mimetype="text/restructuredtext"
+
.. meta::
:description: Topic: Writing good code, Difficulty: Easy, Category: Section
:keywords: pep8, code style, lint, format, best practices, type hint, documentation, numpydoc, sphinx, typing, annotation, whitespace
-```
+
# Writing Good Code
diff --git a/README.md b/README.md
index 83953534..70ccc79d 100644
--- a/README.md
+++ b/README.md
@@ -43,7 +43,7 @@ Once this environment is created activate it. You may need to manually install a
```shell
pip install sphinx-rtd-theme==0.4.3
-pip install jupytext==1.1.1
+pip install jupytext==1.3.0rc0
```
Using this environment, you should now be able to run sphinx to build the html for this site from the source-code. To do this, navigate to the directory named Python in this repository, and then run:
diff --git a/plymi.yml b/plymi.yml
index deff2655..f475085d 100644
--- a/plymi.yml
+++ b/plymi.yml
@@ -111,7 +111,7 @@ dependencies:
- docutils==0.14
- idna==2.8
- imagesize==1.1.0
- - jupytext==1.1.1
+ - jupytext==1.3.0rc0
- mock==2.0.0
- numpydoc==0.9.1
- pbr==5.2.0