Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Dawn0916/DSR-Python-Intro

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DSR-Python-Intro

Introduction to most important Python concepts

Students should know about Python (at least) the following topics

  • Basic datatypes and usual operations and methods to work with them
    • Numbers (including booleans)
    • Strings
    • Lists
    • Dictionaries
    • Tuples
  • Difference between the different datatypes (mutability, sequences, etc)
  • Opening and reading files
  • if, for and while structures
  • Iterations and comprehensions
  • Functions and arguments, importing packages, scopes
  • Anonymous functions: lambda

Numpy

  • What are numpy arrays and why we need them
  • How to create different types of numpy arrays
    • From lists
    • All zeros, ones or specific value
    • From linear sequences or ranges
    • From random distributions
  • Usual array attributes (size, shape, ndim, dtype, itemsize, nbytes)
  • Indexing, slicing
  • Reshaping, contatenating and splitting
  • UFuncs
  • Aggregations
  • Broadcasting!! IMPORTANT!!
  • Comparisons, Masks and fancy indexing

Pandas

  • What is pandas and how is it different from Numpy
  • What are series and dataframes
  • creating series and dataframes
  • Indexes and MultiIndex
  • Indexing and selecting data
  • Working around missing data
  • UFuncs on pandas
  • Combinging datasets (concat, append, merge and join)
  • Groupby and aggregations
  • Pivoting tables - String methods

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.