Chapters#

1. basics#

Tutorials concerning basics

1.1 variables

1.1 variables

1.1 variables
1.2 sequential data

1.2 sequential data

1.2 sequential data
1.3 operators

1.3 operators

1.3 operators
1.4 lists

1.4 lists

1.4 lists
1.5 copying lists

1.5 copying lists

1.5 copying lists
1.6 dictionary

1.6 dictionary

1.6 dictionary
1.7 sets

1.7 sets

1.7 sets
1.8 conditional statements

1.8 conditional statements

1.8 conditional statements
1.9 while loops

1.9 while loops

1.9 while loops
1.10 for loops

1.10 for loops

1.10 for loops
1.11 print

1.11 print

1.11 print
1.12 functions

1.12 functions

1.12 functions
1.13 args and kwargs

1.13 args and kwargs

1.13 args and kwargs
1.14 global vs local

1.14 global vs local

1.14 global vs local
1.15 nested functions

1.15 nested functions

1.15 nested functions
1.16 iterator vs iterable

1.16 iterator vs iterable

1.16 iterator vs iterable
1.17 read/write operations

1.17 read/write operations

1.17 read/write operations
1.18 Exceptions

1.18 Exceptions

1.18 Exceptions
1.19 generators

1.19 generators

1.19 generators
1.20 installing packages

1.20 installing packages

1.20 installing packages
1.21. builtin functions

1.21. builtin functions

1.21. builtin functions

2. builtin modules#

This chapter describes some useful built-in modules/packages in python.

2.1 os

2.1 os

2.1 os
2.2 sys

2.2 sys

2.2 sys
2.3 time and dateandtime

2.3 time and dateandtime

2.3 time and dateandtime
2.4 copy

2.4 copy

2.4 copy
2.5 collections

2.5 collections

2.5 collections
2.6 types and typing

2.6 types and typing

2.6 types and typing
2.7 math

2.7 math

2.7 math
2.8 pathlib

2.8 pathlib

2.8 pathlib
3.9 warnings

3.9 warnings

3.9 warnings
2.10 random

2.10 random

2.10 random
2.11 csv

2.11 csv

2.11 csv
2.12 itertools

2.12 itertools

2.12 itertools

3. oop#

Tutorials concerning object oriented programming

3.1 introduction

3.1 introduction

3.1 introduction
3.2 creating class

3.2 creating class

3.2 creating class
3.3 Attributes

3.3 Attributes

3.3 Attributes
3.4 methods

3.4 methods

3.4 methods
3.5 init method

3.5 init method

3.5 init method
3.6 str and repr methods

3.6 str and repr methods

3.6 str and repr methods
3.7 public vs private attributes

3.7 public vs private attributes

3.7 public vs private attributes
3.8 class vs  instance attributes

3.8 class vs instance attributes

3.8 class vs instance attributes
3.9 static methods

3.9 static methods

3.9 static methods
3.10 class methods

3.10 class methods

3.10 class methods
3.11 property

3.11 property

3.11 property
3.12 Descriptors

3.12 Descriptors

3.12 Descriptors
3.13 inheritance

3.13 inheritance

3.13 inheritance
3.14 __call__

3.14 __call__

3.14 __call__
3.15 __getattr__

3.15 __getattr__

3.15 __getattr__
3.16 magic methods

3.16 magic methods

3.16 magic methods
3.17 getattr vs setattr

3.17 getattr vs setattr

3.17 getattr vs setattr

4. numpy#

Tutorials concerning numpy

4.1 understanding dimensions/axis

4.1 understanding dimensions/axis

4.1 understanding dimensions/axis
4.2 stacking vs concatenating

4.2 stacking vs concatenating

4.2 stacking vs concatenating
4.3 quantile and digitize

4.3 quantile and digitize

4.3 quantile and digitize

5. pandas#

Tutorials concerning pandas

5.1 introduction

5.1 introduction

5.1 introduction
5.2 indexing and slicing

5.2 indexing and slicing

5.2 indexing and slicing
5.3 working with time series

5.3 working with time series

5.3 working with time series
5.4 reading/writing

5.4 reading/writing

5.4 reading/writing
5.5 apply

5.5 apply

5.5 apply
5.6 groupby

5.6 groupby

5.6 groupby
5.7 multi-indexing

5.7 multi-indexing

5.7 multi-indexing
5.8 efficient pandas

5.8 efficient pandas

5.8 efficient pandas

6. plotting#

This chapter contains lessons regarding plotting.

6.0 Introduction

6.0 Introduction

6.0 Introduction
6.1 basic plot

6.1 basic plot

6.1 basic plot
6.2 scatter plot

6.2 scatter plot

6.2 scatter plot
6.3 bar plot

6.3 bar plot

6.3 bar plot
6.4 heatmap/imshow

6.4 heatmap/imshow

6.4 heatmap/imshow
6.5 regression plot

6.5 regression plot

6.5 regression plot
6.6 lollipop plot

6.6 lollipop plot

6.6 lollipop plot
6.7 dumbell plot

6.7 dumbell plot

6.7 dumbell plot
6.8 circular_bar plot

6.8 circular_bar plot

6.8 circular_bar plot
6.9 histogram plot

6.9 histogram plot

6.9 histogram plot
6.10 ridge plot

6.10 ridge plot

6.10 ridge plot
6.11 contour plot

6.11 contour plot

6.11 contour plot
6.12 pie plot

6.12 pie plot

6.12 pie plot
6.13 spider plot

6.13 spider plot

6.13 spider plot
6.14 parallel_coordinates

6.14 parallel_coordinates

6.14 parallel_coordinates
6.15 taylor plot

6.15 taylor plot

6.15 taylor plot
6.16 boxplot

6.16 boxplot

6.16 boxplot
6.17 violin

6.17 violin

6.17 violin
6.18 Adding Marginal plots

6.18 Adding Marginal plots

6.18 Adding Marginal plots

7. Advanced#

7.1 Regular expressions

7.1 Regular expressions

7.1 Regular expressions
7.2. Parallel Processing

7.2. Parallel Processing

7.2. Parallel Processing
7.3 cython

7.3 cython

7.3 cython
7.4 interfacing with C

7.4 interfacing with C

7.4 interfacing with C
7.5 interfacing with C++

7.5 interfacing with C++

7.5 interfacing with C++
7.6 interfacing with Fortran

7.6 interfacing with Fortran

7.6 interfacing with Fortran
7.7 interfacing with matlab

7.7 interfacing with matlab

7.7 interfacing with matlab
7.8 testing your code

7.8 testing your code

7.8 testing your code

Gallery generated by Sphinx-Gallery