Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
49 views

Introduction To Python: © Prof. Pitabas Mohanty, X L R I, Jamshedpur

The document provides an introduction to Python by outlining nine topics: 1) useful information sources, 2) great books, 3) using Jupyter Notebook, 4) built-in data types, 5) importing libraries, 6) logical operations, 7) using dir() to learn about objects and packages, 8) data containers like lists, tuples, dictionaries and strings, and 9) control flow including if, loops and defining functions.

Uploaded by

kkiiidd
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views

Introduction To Python: © Prof. Pitabas Mohanty, X L R I, Jamshedpur

The document provides an introduction to Python by outlining nine topics: 1) useful information sources, 2) great books, 3) using Jupyter Notebook, 4) built-in data types, 5) importing libraries, 6) logical operations, 7) using dir() to learn about objects and packages, 8) data containers like lists, tuples, dictionaries and strings, and 9) control flow including if, loops and defining functions.

Uploaded by

kkiiidd
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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