100% found this document useful (1 vote)
2K views

PYTHON With NumPy and Pandas

This document provides an outline for a training course on Python programming. It covers topics such as introduction to languages and programming paradigms, introduction to Python, Python software, Python language fundamentals, variables, operators, input/output, control statements, data structures, functions, and collections like lists, tuples, sets, and dictionaries. The training aims to provide attendees with knowledge of Python syntax, programming concepts, and how to develop Python applications.

Uploaded by

ramakrishna
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
2K views

PYTHON With NumPy and Pandas

This document provides an outline for a training course on Python programming. It covers topics such as introduction to languages and programming paradigms, introduction to Python, Python software, Python language fundamentals, variables, operators, input/output, control statements, data structures, functions, and collections like lists, tuples, sets, and dictionaries. The training aims to provide attendees with knowledge of Python syntax, programming concepts, and how to develop Python applications.

Uploaded by

ramakrishna
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

An ISO 9001 : 2015 Certified Company

Opp. Satyam Theatre, Durga Bhavani Plaza, Ameerpet, Hyd-16

Mr. Satish Gupta | Mr. Subba Raju | Mr. Srinivas


Introduction to Languages Python Software’s
 What is Language?  Python Distributions
 Types of languages  Download &Python Installation Process in
 Introduction to Translators Windows, Unix, Linux and Mac
o Compiler  Online Python IDLE
o Interpreter  Python Real-time IDEs like Spyder, Jupyter Note
 What is Scripting Language? Book, PyCharm, Rodeo, Visual Studio Code, ATOM,
 Types of Script PyDevetc
 Programming Languages v/s Scripting Languages Python Language Fundamentals
 Difference between Scripting and Programming  Python Implementation Alternatives/Flavors
languages  Keywords
 What is programming paradigm?  Identifiers
 Procedural programming paradigm  Constants / Literals
 Object oriented programming paradigm  Data types
Introduction to Python  Python VS JAVA
 What is Python?  Python Syntax
 WHY PYTHON? Different Modes of Python
 History  Interactive Mode
 Features – Dynamic, Interpreted, Object oriented,  Scripting Mode
Embeddable, Extensible, Large standard libraries,  Programming Elements
Free and Open source  Structure of Python program
 Why Python is General Language?  First Python Application
 Limitations of Python  Comments in Python
 What is PSF?  Python file extensions
 Python implementations  Setting Path in Windows
 Python applications  Edit and Run python program without IDE
 Python versions  Edit and Run python program using IDEs
 PYTHON IN REALTIME INDUSTRY  INSIDE PYTHON
 Difference between Python 2.x and 3.x  Programmers View of Interpreter
 Difference between Python 3.7 and 3.8  Inside INTERPRETER
 Software Development Architectures  What is Byte Code in PYTHON?
 Python Debugger
Python variables  Different ways of creating List
 bytes Data Type  List comprehension
 byte array  List indices
 String Formatting in Python  Processing elements of List through Indexing and
 Math, Random, Secrets Modules Slicing
 Introduction  List object methods
 Initialization of variables  List is Mutable
 Local variables  Mutable and Immutable elements of List
 Global variables  Nested Lists
 ‘global’ keyword  List_of_lists
 Input and Output operations  Hardcopy, shallowCopy and DeepCopy
 Data conversion functions – int(), float(),  zip() in Python
complex(), str(), chr(), ord()  How to unzip?
Operators  Python Arrays:
 Arithmetic Operators  Case studies
 Comparison Operators Tuple collection
 Python Assignment Operators  What is tuple?
 Logical Operators  Different ways of creating Tuple
 Bitwise Operators  Method of Tuple object
 Shift operators  Tuple is Immutable
 Membership Operators  Mutable and Immutable elements of Tuple
 Identity Operators  Process tuple through Indexing and Slicing
 Ternary Operator  List v/s Tuple
 Operator precedence  Case studies
 Difference between "is" vs "==" Set collection
Input & Output Operators  What is set?
 Print  Different ways of creating set
 Input  Difference between list and set
 Command line arguments  Iteration Over Sets
Control Statements  Accessing elements of set
 Conditional control statements  Python Set Methods
o If  Python Set Operations
o If-else  Union of sets
o If-elif-else  functions and methods of set
o Nested-if  Python Frozen set
 Loop control statements  Difference between set and frozenset ?
o for  Case study
o while Dictionary collection
o Nested loops  What is dictionary?
 Branching statements  Difference between list, set and dictionary
o Break  How to create a dictionary?
o Continue  PYTHON HASHING?
o Pass  Accessing values of dictionary
o Return  Python Dictionary Methods
 Case studies  Copying dictionary
Data structures or Collections  Updating Dictionary
 Introduction  Reading keys from Dictionary
 Importance of Data structures  Reading values from Dictionary
 Applications of Data structures  Reading items from Dictionary
 Types of Collections  Delete Keys from the dictionary
o Sequence  Sorting the Dictionary
 Strings , List, Tuple, range  Python Dictionary Functions and methods
o Non sequence  Dictionary comprehension
 Set, Frozen set, Dictionary Functions
 Strings  What is Function?
o What is string  Advantages of functions
o Representation of Strings  Syntax and Writing function
o Processing elements using indexing  Calling or Invoking function
o Processing elements using Iterators  Classification of Functions
o Manipulation of String using Indexing and o No arguments and No return values
Slicing o With arguments and No return values
o String operators o With arguments and With return values
o Methods of String object o No arguments and With return values
o String Formatting o Recursion
o String functions  Python argument type functions :
o String Immutability o Default argument functions
 Case studies o Required(Positional) arguments function
List Collection o Keyword arguments function
 What is List o Variable arguments functions
 Need of List collection  ‘pass’ keyword in functions
 Lambda functions/Anonymous functions  Object class
o map()  super()
o filter()  Runtime polymorphism
o reduce()  Method overriding
 Nested functions  Method resolution order(MRO)
 Non local variables, global variables  Method overriding in Multiple inheritance and
 Closures Hybrid Inheritance
 Decorators  Duck typing
 Generators  Concrete Methods in Abstract Base Classes
 Iterators  Difference between Abstraction & Encapsulation
 Monkey patching  Inner classes
Python Modules  Introduction
 Importance of modular programming  Writing inner class
 What is module  Accessing class level members of inner class
 Types of Modules – Pre defined, User defined.  Accessing object level members of inner class
 User defined modules creation  Local inner classes
 Functions based modules  Complex inner classes
 Class based modules  Case studies
 Connecting modules Exception Handling & Types of Errors
 Import module  What is Exception?
 From … import  Why exception handling?
 Module alias / Renaming module  Syntax error v/s Runtime error
 Built In properties of module  Exception codes – AttributeError, ValueError,
Packages IndexError, TypeError…
 Organizing python project into packages o Handling exception – try except block
 Types of packages – pre defined, user defined. o Try with multi except
 Package v/s Folder o Handling multiple exceptions with single
 __init__.py file except block
 Importing package  Finally block
 PIP o Try-except-finally
o Introduction to PIP o Try with finally
o Installing PIP o Case study of finally block
o Installing Python packages  Raise keyword
o Un installing Python packages o Custom exceptions / User defined
OOPs exceptions
 Procedural v/s Object oriented programming o Need to Custom exceptions
 Principles of OOP – Encapsulation , Abstraction  Case studies
(Data Hiding) Regular expressions
 Classes and Objects  Understanding regular expressions
 How to define class in python  String v/s Regular expression string
 Types of variables – instance variables, class  “re” module functions
variables.  Match()
 Types of methods – instance methods, class  Search()
method, static method  Split()
 Constructors.  Findall()
 Object initialization  Compile()
 ‘self’ reference variable  Sub()
 ‘cls’ reference variable  Subn()
 Access modifiers – private(__) , protected(_),  Expressions using operators and symbols
public  Simple character matches
 AT property class  Special characters
 Property() object  Character classes
 Creating object properties using setaltr, getaltr  Mobile number extraction
functions  Mail extraction
 Encapsulation(Data Binding)  Different Mail ID patterns
 What is polymorphism?  Data extraction
o Overriding  Password extraction
i) Method overriding  URL extraction
ii) Constructor overriding  Vehicle number extraction
o Overloading  Case study
i) Method Overloading File &Directory handling
ii) Constructor Overloading  Introduction to files
iii) Operator Overloading  Opening file
 Class re-usability  File modes
 Composition  Reading data from file
 Aggregation  Writing data into file
 Inheritance – single , multi level, multiple,  Appending data into file
hierarchical and hybrid inheritance and Diamond  Line count in File
inheritance  CSV module
 Constructors in inheritance  Creating CSV file
 Reading from CSV file  mysql.connector module
 Writing into CSV file  connect() method
 Object serialization – pickle module  Oracle Database
 XML parsing  Install cx_Oracle
 JSON parsing  Cursor Object methods
Python Logging  execute() method
 Logging Levels  executeMany() method
 implement Logging  fetchone()
 Configure Log File in over writing Mode  fetchmany()
 Timestamp in the Log Messages  fetchall()
 Python Program Exceptions to the Log File  Static queries v/s Dynamic queries
 Requirement of Our Own Customized Logger  Transaction management
 Features of Customized Logger  Case studies
Date & Time module Python - Network Programming
 How to use Date & Date Time class  What is Sockets?
 How to use Time Delta object  What is Socket Programming?
 Formatting Date and Time  The socket Module
 Calendar module  Server Socket Methods
 Text calendar  Connecting to a server
 HTML calendar  A simple server-client program
OS module  Server
 Shell script commands  Client
 Various OS operations in Python Tkinter & Turtle
 Python file system shell methods  Introduction to GUI programming
 Creating files and directories  Tkinter module
 Removing files and directories  Tk class
 Shutdown and Restart system  Components / Widgets
 Renaming files and directories  Label , Entry , Button , Combo, Radio
 Executing system commands  Types of Layouts
Multi-threading & Multi Processing  Handling events
 Introduction  Widgets properties
 Multi tasking v/s Multi threading  Case studies
 Threading module Data analytics modules
 Creating thread – inheriting Thread class , Using  Numpy
callable object  Introduction
 Life cycle of thread  Scipy
 Single threaded application  Introduction
 Multi threaded application  Arrays
 Can we call run() directly?  Datatypes
 Need to start() method  Matrices
 Sleep()  N dimension arrays
 Join()  Indexing and Slicing
 Synchronization - Lock class – acquire(), release()  Pandas
functions  Introduction
 Case studies  Data Frames
Garbage collection  Merge , Join, Concat
 Introduction  MatPlotLib introduction
 Importance of Manual garbage collection  Drawing plots
 Self reference objects garbage collection  Introduction to Machine learning
 ‘gc’ module  Types of Machine Learning?
 Collect() method  Introduction to Data science
 Threshold function DJANGO
 Case studies  Introduction to PYTHON Django
Python Data Base Communications(PDBC)  What is Web framework?
 Introduction to DBMS applications  Why Frameworks?
 File system v/s DBMS  Define MVT Design Pattern
 Communicating with MySQL  Difference between MVC and MVT
 Python – MySQL connector
PANDAS  iteritems()
Pandas – Introduction  iterrows()
Pandas – Environment Setup  itertuples()
Pandas – Introduction to Data Structures Pandas – Sorting
 Dimension & Description  By Label
 Series  Sorting Algorithm
 DataFrame Pandas – Working with Text Data
 Data Type of Columns Pandas – Options and Customization
 Panel  get_option(param)
Pandas — Series  set_option(param,value)
 pandas.Series  reset_option(param)
 Create an Empty Series  describe_option(param)
 Create a Series f  option_context()
 rom ndarray Pandas – Indexing and Selecting Data
 rom dict  .loc()
 rom Scalar  .iloc()
 Accessing Data from Series with Position  .ix()
 Retrieve Data Using Label (Index)  Use of Notations
Pandas – DataFrame Pandas – Statistical Functions
 pandas.DataFrame  Percent_change
 Create DataFrame  Covariance
 Create an Empty DataFrame  Correlation
 Create a DataFrame from Lists  Data Ranking
 Create a DataFrame from Dict of ndarrays / Lists Pandas – Window Functions
 Create a DataFrame from List of Dicts  .rolling() Function
 Create a DataFrame from Dict of Series  .expanding() Function
 Column Selection  .ewm() Function
 Column Addition Pandas – Aggregations
 Column Deletion  Applying Aggregations on DataFrame
 Row Selection, Addition, and Deletion Pandas – Missing Data
Pandas – Panel  Cleaning / Filling Missing Data
 pandas.Panel()  Replace NaN with a Scalar Value
 Create Panel  Fill NA Forward and Backward
 Selecting the Data from Panel  Drop Missing Values
Pandas – Basic Functionality  Replace Missing (or) Generic Values
 DataFrame Basic Functionality Pandas – GroupBy
Pandas – Descriptive Statistics  Split Data into Groups
 Functions & Description  View Groups
 Summarizing Data  Iterating through Groups
Pandas – Function Application  Select a Group
 Table-wise Function Application  Aggregations
 Row or Column Wise Function Application  Transformations
 Element Wise Function Application  Filtration
Pandas – Reindexing Pandas – Merging/Joining
 Reindex to Align with Other Objects  Merge Using 'how' Argument
 Filling while ReIndexing Pandas – Concatenation
 Limits on Filling while Reindexing  Concatenating Objects
 Renaming  Time Series
Pandas – Iteration Pandas – Date Functionality
 Iterating a DataFrame Pandas – Timedelta
Pandas – Categorical Data  numpy.hsplit and numpy.vsplit
 Object Creation  numpy.resize
Pandas – Visualization  numpy.append
 Bar Plot  numpy.insert
 Histograms  numpy.delete
 Box Plots  numpy.unique
 Area Plot NUMPY – BINARY OPERATORS
 Scatter Plot  bitwise_and
 Pie Chart  bitwise_or
Pandas – IO Tools  numpy.invert()
 read.csv  left_shift
Pandas – Sparse Data  right_shift
Pandas – Caveats & Gotchas NUMPY − STRING FUNCTIONS
Pandas – Comparison with SQL NUMPY − MATHEMATICAL FUNCTIONS
 Trigonometric Functions
NUMPY  Functions for Rounding
NUMPY − ARITHMETIC OPERATIONS
NUMPY − INTRODUCTION  numpy.reciprocal()
NUMPY − ENVIRONMENT  numpy.power()
NUMPY − NDARRAY OBJECT  numpy.mod()
NUMPY − DATA TYPES NUMPY − STATISTICAL FUNCTIONS
 Data Type Objects (dtype)  numpy.amin() and numpy.amax()
NUMPY − ARRAY ATTRIBUTES  numpy.ptp()
 ndarray.shape  numpy.percentile()
 ndarray.ndim  numpy.median()
 numpy.itemsize  numpy.mean()
 numpy.flags  numpy.average()
NUMPY − ARRAY CREATION ROUTINES  Standard Deviation
 numpy.empty  Variance
 numpy.zeros NUMPY − SORT, SEARCH & COUNTING FUNCTIONS
 numpy.ones  numpy.sort()
NUMPY − ARRAY FROM EXISTING DATA  numpy.argsort()
 numpy.asarray  numpy.lexsort()
 numpy.frombuffer  numpy.argmax() and numpy.argmin()
 numpy.fromiter  numpy.nonzero()
NUMPY − ARRAY FROM NUMERICAL RANGES  numpy.where()
 numpy.arange  numpy.extract()
 numpy.linspace NUMPY − BYTE SWAPPING
 numpy.logspace  numpy.ndarray.byteswap()
NUMPY − INDEXING & SLICING NUMPY − COPIES & VIEWS
NUMPY − ADVANCED INDEXING  No Copy
 Integer Indexing  View or Shallow Copy
 Boolean Array Indexing  Deep Copy
NUMPY − BROADCASTING NUMPY − MATRIX LIBRARY
NUMPY − ITERATING OVER ARRAY  matlib.empty()
 Iteration  numpy.matlib.zeros()
 Order  numpy.matlib.ones()
 Modifying Array Values  numpy.matlib.eye()
 External Loop  numpy.matlib.identity()
 Broadcasting Iteration  numpy.matlib.rand()
NUMPY – ARRAY MANIPULATION NUMPY − LINEAR ALGEBRA
 numpy.reshape  numpy.dot()
 numpy.ndarray.flat  numpy.vdot()
 numpy.ndarray.flatten  numpy.inner()
 numpy.ravel  numpy.matmul()
 numpy.transpose  Determinant
 numpy.ndarray.T  numpy.linalg.solve()
 numpy.swapaxes NUMPY − MATPLOTLIB
 numpy.rollaxis  Sine Wave Plot
 numpy.broadcast  subplot()
 numpy.broadcast_to  bar()
 numpy.expand_dims NUMPY – HISTOGRAM USING MATPLOTLIB
 numpy.squeeze  numpy.histogram()
 numpy.concatenate  plt()
 numpy.stack NUMPY − I/O WITH NUMPY
 numpy.hstack and numpy.vstack  numpy.save()
 numpy.split  savetxt()

You might also like