File tree
236 files changed
+2107024
-50
lines changed- 16 - Calling APIs
- even-more-python-for-beginners-data-tools
- 01 - Jupyter Notebooks
- 02 - Introduction to Anaconda and Conda
- 03 - Intro to Pandas
- 04 - Examining Pandas DataFrame contents
- 05 - Query a pandas Dataframe
- 06 - CSV Files and Jupyter Notebooks
- 07 - Read and write CSV files from pandas DataFrames
- 08 - Removing and splitting DataFrame columns
- 09 - Handling duplicates and rows with missing values
- 10 - Splitting test and training data with scikit-learn
- 11 - Train a linear regression model with scikit-learn
- 12 - Testing a model
- 13 - Evaluating accuracy of a model using calculations
- 14 - NumPy vs Pandas
- 15 - Visualizing data with Matplotlib
- Slides
- more-python-for-beginners
- 01 - Formatting and linting
- .vscode
- 02 - Lambdas
- 03 - Classes
- 04 - Inheritance
- 05 - Mixins
- 06 - Managing the file system
- 07 - Reading and writing files
- 08 - Managing external resources
- 09 - Asynchronous programming
- Slides
- python-for-beginners
- 02 - Print
- 03 - Comments04 - String variables05 - Numeric variables06 - Dates
- get_current_date.py F438 div>07 - Error handling08 - Handling conditions09 - Handling multiple conditions10 - Complex conditon checks
- 10000 div>11 - Collections12 - Loops13 - Functions14 - Function parameters15 - Packages16 - Calling APIs
- TestImages
17 - JSON- TestImages
18 - DecoratorsSlides
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.236 files changed
+2107024-50lines changedLines changed: 0 additions & 14 deletionsThis file was deleted.Lines changed: 4 additions & 4 deletionsOriginal file line number Diff line number Diff line change @@ -1,9 +1,9 @@1
1
# Microsoft Open Source Code of Conduct2
2
3
-
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).3
+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/?WT.mc_id=python-c9-niner).4
4
5
5
Resources:6
6
7
-
- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)8
-
- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)9
-
- Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns7
+
- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/?WT.mc_id=python-c9-niner)8
+
- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/?WT.mc_id=python-c9-niner)9
+
- Contact [opencode@microsoft.com](mailto:opencode@microsoft.com?WT.mc_id=python-c9-niner) with questions or concernsLines changed: 28 additions & 24 deletionsOriginal file line number Diff line number Diff line change @@ -2,47 +2,51 @@2
2
3
3
## Overview4
4
5
-
The series of videos on Channel 9 is designed to help get you up to speed on Python. If you're a beginning developer who's looking to add Python to your quiver of languages, or trying to get started on a data science or web project, these videos can help teach you the foundation necessary to walk through a quick start or other tutorial.5
+
These threes series on Channel 9 and YouTube are designed to help get you up to speed on Python. If you're a beginning developer looking to add Python to your quiver of languages, or trying to get started on a data science or web project which uses Python, these videos are here to help show you the foundations necessary to walk through a tutorial or other quick start.6
+
7
+
We do assume you are familiar with another programming language, and some core programming concepts. For example, we highlight the syntax for boolean expressions and creating classes, but we don't dig into what a [boolean](https://en.wikipedia.org/wiki/Boolean_data_type) is or [object oriented design](https://en.wikipedia.org/wiki/Object-oriented_design). We show you how to perform the tasks you're familiar with in other languages in Python.6
8
7
9
### What you'll learn8
10
9
11
- The basics of Python10
-
- Starting a project11
12
- Common syntax12
-
- Package management13
-
14
-
### What we don't cover15
-
16
-
- Class design and inheritance17
-
- Asynchronous programming18
-
- Basics of programming13
+
- Popular packages19
14
20
15
## Prerequisites21
16
17
+
- Light experience with another programming language, such as [JavaScript](https://www.edx.org/course/javascript-introduction), [Java](https://www.java.com) or [C#](https://docs.microsoft.com/dotnet/csharp/)22
18
- [An understanding of Git](https://git-scm.com/book/en/v1/Getting-Started)23
-
- Light experience with another programming language, such as [JavaScript](https://www.edx.org/course/javascript-introduction)19
+
20
+
## Courses21
+
22
+
### Getting started23
+
24
+
[Python for beginners](https://aka.ms/pythonbeginnerseries) is the perfect starting location for getting started. No Python experience is required! We'll show you how to set up [Visual Studio Code](https://code.visualstudio.com?WT.mc_id=python-c9-niner) as your code editor, and start creating Python code. You'll see how to manage create, structure and run your code, how to manage packages, and even make [REST calls](https://en.wikipedia.org/wiki/Representational_state_transfer).25
+
26
+
### Dig a little deeper27
+
28
+
[More Python for beginners](https://aka.ms/morepython) digs deeper into Python syntax. You'll explore how to create classes and mixins in Python, how to work with the file system, and introduce `async/await`. This is the perfect next step if you're looking to see a bit more of what Python can do.29
+
30
+
### Peek at data science tools31
+
32
+
[Even more Python for beginners](https://aka.ms/evenmorepython) is a practical exploration of a couple of the most common packages and tools you'll use when working with data and machine learning. While we won't dig into why you choose particular machine learning models (that's another course), you will get hands on with Jupyter Notebooks, and create and test models using scikit-learn and pandas.24
33
25
34
## Next steps26
35
27
-
As the goal of this course is to help get you up to speed on Python so you can work through a quick start, the next step after completing the videos is to follow a tutorial! Here's a few of our favorites:36
+
As the goal of these courses is to help get you up to speed on Python so you can work through a quick start. The next step after completing the videos is to follow a tutorial! Here's a few of our favorites:28
37
29
-
- [Quickstart: Detect faces in an image using the Face REST API and Python](https://docs.microsoft.com/en-us/azure/cognitive-services/face/QuickStarts/Python?WT.mc_id=python-c9-niner)30
-
- [Quickstart: Analyze a local image using the Computer Vision REST API and Python](https://docs.microsoft.com/en-us/azure/cognitive-services/computer-vision/quickstarts/python-disk?WT.mc_id=python-c9-niner)31
-
- [Quickstart: Using the Python REST API to call the Text Analytics Cognitive Service](https://docs.microsoft.com/en-us/azure/cognitive-services/Text-Analytics/quickstarts/python?WT.mc_id=python-c9-niner)32
-
- [Tutorial: Build a Flask app with Azure Cognitive Services](https://docs.microsoft.com/en-us/azure/cognitive-services/translator/tutorial-build-flask-app-translation-synthesis)38
+
- [Quickstart: Detect faces in an image using the Face REST API and Python](https://docs.microsoft.com/azure/cognitive-services/face/QuickStarts/Python?WT.mc_id=python-c9-niner?WT.mc_id=python-c9-niner)39
+
- [Quickstart: Analyze a local image using the Computer Vision REST API and Python](https://docs.microsoft.com/azure/cognitive-services/computer-vision/quickstarts/python-disk?WT.mc_id=python-c9-niner?WT.mc_id=python-c9-niner)40
+
- [Quickstart: Using the Python REST API to call the Text Analytics Cognitive Service](https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/quickstarts/python?WT.mc_id=python-c9-niner?WT.mc_id=python-c9-niner)41
+
- [Tutorial: Build a Flask app with Azure Cognitive Services](https://docs.microsoft.com/azure/cognitive-services/translator/tutorial-build-flask-app-translation-synthesis?WT.mc_id=python-c9-niner)33
42
- [Flask tutorial in Visual Studio Code](https://code.visualstudio.com/docs/python/tutorial-flask?WT.mc_id=python-c9-niner)34
43
- [Django tutorial in Visual Studio Code](https://code.visualstudio.com/docs/python/tutorial-django?WT.mc_id=python-c9-niner)44
+
- [Predict flight delays by creating a machine learning model in Python](https://docs.microsoft.com/learn/modules/predict-flight-delays-with-python?WT.mc_id=python-c9-niner)35
45
36
46
## Contributing37
47
38
-
This project welcomes contributions and suggestions. Most contributions require you to agree to a39
-
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us40
-
the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.48
+
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.41
49
42
-
When you submit a pull request, a CLA bot will automatically determine whether you need to provide43
-
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions44
-
provided by the bot. You will only need to do this once across all repos using our CLA.50
+
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.45
51
46
-
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).47
-
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or48
-
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.52
+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.Lines changed: 7 additions & 7 deletionsOriginal file line number Diff line number Diff line change @@ -2,19 +2,19 @@2
2
3
3
## Security4
4
5
-
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [many more](https://opensource.microsoft.com/).5
+
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [many more](https://opensource.microsoft.com/?WT.mc_id=python-c9-niner).6
6
7
-
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets Microsoft's [definition](https://docs.microsoft.com/en-us/previous-versions/tn-archive/cc751383(v=technet.10)) of a security vulnerability, please report it to us as described below.7
+
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets Microsoft's [definition](https://docs.microsoft.com/previous-versions/tn-archive/cc751383(v=technet.10)?WT.mc_id=python-c9-niner) of a security vulnerability, please report it to us as described below.8
8
9
9
## Reporting Security Issues10
10
11
11
**Please do not report security vulnerabilities through public GitHub issues.**12
12
13
-
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://msrc.microsoft.com/create-report).13
+
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://msrc.microsoft.com/create-report?WT.mc_id=python-c9-niner).14
14
15
-
If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the the [Microsoft Security Response Center PGP Key page](https://www.microsoft.com/en-us/msrc/pgp-key-msrc).15
+
If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the the [Microsoft Security Response Center PGP Key page](https://www.microsoft.com/msrc/pgp-key-msrc?WT.mc_id=python-c9-niner).16
16
17
-
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc).17
+
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc?WT.mc_id=python-c9-niner).18
18
19
19
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:20
20
@@ -28,14 +28,14 @@ Please include the requested information listed below (as much as you can provid28
28
29
29
This information will help us triage your report more quickly.30
30
31
-
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://microsoft.com/msrc/bounty) page for more details about our active programs.31
+
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://microsoft.com/msrc/bounty?WT.mc_id=python-c9-niner) page for more details about our active programs.32
32
33
33
## Preferred Languages34
34
35
35
We prefer all communications to be in English.36
36
37
37
## Policy38
38
39
-
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://www.microsoft.com/en-us/msrc/cvd).39
+
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://www.microsoft.com/msrc/cvd?WT.mc_id=python-c9-niner).40
40
41
41
<!-- END MICROSOFT SECURITY.MD BLOCK -->Lines changed: 18 additions & 0 deletionsOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@1
+
# Jupyter Notebooks2
+
3
+
Jupyter Notebooks are an open source web application that allows you to create and share Python code. They are frequently used for data science. The code samples in this course are completed using Jupyter Notebooks which have a .ipynb file extension.4
+
5
+
## Documentation6
+
7
+
- [Jupyter](https://jupyter.org/) to install Jupyter so you can run Jupyter Notebooks locally on your computer8
+
- [Jupyter Notebook viewer](https://nbviewer.jupyter.org/) to view Jupyter Notebooks in this GitHub repository without installing Jupyter9
+
- [Azure Notebooks](https://notebooks.azure.com/) to create a free Azure Notebooks account to run Notebooks in the cloud10
+
- [Create and run a notebook](https://docs.microsoft.com/azure/notebooks/tutorial-create-run-jupyter-notebook?WT.mc_id=python-c9-niner) is a tutorial that walks you through the process of using Azure Notebooks to create a complete Jupyter Notebook that demonstrates linear regression11
+
- [How to create and clone projects](https://docs.microsoft.com/azure/notebooks/create-clone-jupyter-notebooks?WT.mc_id=python-c9-niner) to create a project12
+
- [Manage and configure projects in Azure Notebooks](https://docs.microsoft.com/azure/notebooks/configure-manage-azure-notebooks-projects?WT.mc_id=python-c9-niner) to upload Notebooks to your project13
+
14
+
## Microsoft Learn Resources15
+
16
+
Explore related tutorials on [Microsoft Learn](https://learn.microsoft.com/?WT.mc_id=python-c9-niner).17
+
18
+
- [Intro to machine learning with Python and Azure Notebooks](https://docs.microsoft.com/learn/paths/intro-to-ml-with-python/?WT.mc_id=python-c9-niner)Lines changed: 14 additions & 0 deletionsOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@1
+
# Anaconda2
+
3
+
[Anaconda](https://www.anaconda.com/) is an open source distribution of Python and R for data science. It includes more than 1500 packages, a graphical interface called Anaconda Navigator, a command line interface called Anaconda prompt and a tool called Conda.71E8
4
+
5
+
## Conda6
+
7
+
Python code often relies on external libraries stored in packages. Conda is an open source package management system and environment management system. Conda helps you manage environments and install packages for Jupyter Notebooks.8
+
9
+
## Documentation10
+
11
+
- [Conda home page](https://docs.conda.io/)12
+
- [Managing Conda environments](https://docs.conda.io/projects/conda/latest/user-guide/tasks/manage-environments.html) to find links and instructions for creating Conda environments, activating, and de-activating Conda environments13
+
- [Managing packages](https://docs.conda.io/projects/conda/latest/user-guide/getting-started.html#managing-packages) to learn how to install packages in a Conda environment14
+
- [Conda cheat sheet](https://docs.conda.io/projects/conda/latest/user-guide/cheatsheet.html) is a handy quick reference of common Conda commands
0 commit comments