Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Introduction to Python1

1. Three useful sources of information


a. https://radimrehurek.com/data_science_python/ (nice example with code)
b. https://github.com/bulutyazilim/awesome-datascience (useful resources for Data
Science)
c. https://github.com/donnemartin/data-science-ipython-notebooks (some ipython
notebooks)
2. Great Books in Python
a. http://do1.dr-chuck.com/pythonlearn/EN_us/pythonlearn.pdf
b. https://www.greenteapress.com/thinkpython/thinkpython.pdf
c. https://media.readthedocs.org/pdf/howtothink/latest/howtothink.pdf
3. Using Jupyter Notebook
a. Keyboard shortcuts
4. Built-in data-types in Python
a. integer, float, complex, Booleans (bool), strings (str)
5. Importing libraries in Python
a. Star import (import math as *)
b. Normal import (import math)
c. Alias import (import math as m)
6. Logical operations in Python
a. and, or, nor
7. Use dir() to know details of objects and packages
8. Data Containers in Python
a. Lists (functions: len, max, min; operators: in, +, *; methods: append, extend, pop,
sort, reverse, count, insert, remove)
b. Tuples They are immutable. (methods: count, index; same functions as for list)
c. We can use tuple() and list() functions
d. Dictionaries: They are key value pairs. (functions: len, del; methods: clear, get, items,
keys, values, update
e. Strings: They are immutable
f. Sets
9. Control flow in Python
a. if function in Python
b. Loop in Python
c. Creating functions using def in Python

1
© Prof. Pitabas Mohanty, X L R I, Jamshedpur

You might also like