Skip to content

KingaS03/Introduction-to-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binder

Open In Colab

Introduction to Python Course

This course is based on the books below and the corresponding Jupyter notebooks of Jake VanderPlas. The course in its original format can be found on Github in the book and the second part comes from the book. As reading from and writing to a file is belonging also to the basics, Kinga Sipos created the complementray Chapter 01.14-File Input and Output. Chapter 01.18-Plotting was also added to provide a first experience with plotting in Python. Some other little details were created and/or changed. Finally extra exercises were added in order to enhance the interactivity of the course.

First book Second book

A Whirlwind Tour of Python is a fast-paced introduction to essential components of the Python language for researchers and developers.

According to Jake VanderPlas the material is particularly aimed at those who wish to use Python for data science and/or scientific programming, and in this capacity serves as an introduction to his next book, The Python Data Science Handbook. These notebooks are adapted from lectures and workshops Jake VanderPlas has given on these topics at University of Washington and at various conferences, meetings, and workshops around the world.

The Chapter about NumPy is already a more advanced chapter aimed for those, who would like to continue using Python for data analysis and for machine learning.

Index

Introduction to Python Programming

  1. Introduction
  2. How to Run Python Code
  3. Basic Python Syntax
  4. Python Semantics: Variables
  5. Python Semantics: Operators
  6. Built-In Scalar Types
  7. Built-In Data Structures
  8. Control Flow Statements
  9. Defining Functions
  10. Errors and Exceptions
  11. Iterators
  12. List Comprehensions
  13. Generators and Generator Expressions
  14. Strings and Regular Expressions
  15. File Input and Output
  16. Modules and Packages
  17. Preview of Data Science Tools
  18. Resources for Further Learning
  19. Plotting
  20. Appendix: Figure Code
  21. Exercises
  22. Solutions

The NumPy Package

  1. Introduction to NumPy
  2. Understanding Data Types in Python
  3. The Basics of NumPy Arrays
  4. Computation on NumPy Arrays: Universal Functions
  5. Aggregations: Min, Max, and everything in Between
  6. Computation of Arrays: Broadcasting
  7. Comparison, Makss, and Boolean Logic
  8. Fancy Indexing
  9. Sorting
  10. Structured Data: NumPy's structured Arrays

License

The materials from Jake VanderPlas were modified respecting the licence they were published with. The Introduction in Python Programming modified material is released under the same "No Rights Reserved" CC0 license, and thus you are free to re-use, modify, build-on, and enhance this material for any purpose.

Respecting the wish of Jake VanderPlast, we include a proper attribution and/or citation of the materials consituting the basis of this course:

A Whirlwind Tour of Python by Jake VanderPlas (O’Reilly). Copyright 2016 O’Reilly Media, Inc., 978-1-491-96465-1

Read more about CC0 here.

The code of The NumPy Package is released under the MIT license, as the original one.

"Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software."

The text content of The NumPy Package is released under the CC-BY-NC-ND license.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published