Chapter 1.
Python
2
1. Programming with Python
2. Libraries in Python
- Numpy
Outline: - Pandas
- Matplotlib
- Seaborn
3
1. Programming with Python
1. Variables in Python
2. Data type
3. Control statements
4. Loop statements
5. Function
4
1. Programming with Python
Home work:
1. Building a BMI Calculator
2. Submit .ipynb file to Lab2
5
1. Programming with Python
Reference Videos:
[Link]
LUaB-1hjhk8FE_XZ87vPPSfHqb6OcM0cF&index=43
[Link]
LUaB-1hjhk8FE_XZ87vPPSfHqb6OcM0cF&index=51
6
2. Libraries in Python
Numpy:
- The core library for scientific computing in Python
- Provides high-performance tools for working with arrays
- Use the following import convention:
import numpy as np
7
2. Libraries in Python
Pandas:
- A very popular library for working with data
- DataFrames are at the center of pandas
- Use the following import convention:
import pandas as pd
8
2. Libraries in Python
Matplotlib/Seaborn:
- Create publication quality plots.
- Use the following import convention:
import [Link] as plt
import seaborn as sb
9
2. Libraries in Python
Home work:
1. Write a program to read a csv file
2. Submit .ipynb file to Lab3
10
2. Libraries in Python
Reference Videos:
[Link]
UaB-1hjhk8FE_XZ87vPPSfHqb6OcM0cF&index=57
Thanks!
Any questions?