0% found this document useful (0 votes)
12 views

Program Name: B.Tech Semester:6TH Course Name: Course Code: Facilitator Name:ANTIM PANGHAL

The document describes a syllabus for a course on data analytics using Python. It outlines 5 modules that will be covered including introductions to Python, functions and data structures in Python, objects in Python, numerical analysis in Python using NumPy, and data manipulation and visualization in Python using Pandas and Matplotlib.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

Program Name: B.Tech Semester:6TH Course Name: Course Code: Facilitator Name:ANTIM PANGHAL

The document describes a syllabus for a course on data analytics using Python. It outlines 5 modules that will be covered including introductions to Python, functions and data structures in Python, objects in Python, numerical analysis in Python using NumPy, and data manipulation and visualization in Python using Pandas and Matplotlib.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Program Name : B.

Tech
Semester :6TH
Course Name: DATA ANALYTICS USING
PYTHON
Course Code:OEC-CS-601(III)
Facilitator Name:ANTIM PANGHAL
SYLLABUS
• MODULE-1: INTRODUCTION TO PYTHON
Brief history of python, Data types - Built-in, Sequence, Sets, Strings, Literals,
constants,keywords, variables, naming convention. Operators – Types, Precedence &
Associativity, Input, Output, file handling, Control Statements.

• MODULE-2: FUNCTIONS AND DATA STRUCTURES IN PYTHON


Functions – basics of functions, functions as objects, recursive functions, List –methods
to process lists, Shallow & Deep copy, Nested lists, lists as matrices, lists as stacks,
Queues, - Deques, Tuples - basic operations on tuples, nested tuples, Dictionaries –
operations ondictionary, ordered dictionary, iteration on dictionary, conversion of lists &
strings into dictionary, Sets & frozen sets, looping techniques on lists & dictionaries,
Lamda, filter, reduce, map, list comprehension, iterators and generators.

• MODULE-3: OBJECTS IN PYTHON


Class and instance attributes, inheritance, multiple inheritance, methos resolution order,
magic methods and operator overloading, meta classes, abstract and inner classes,
exception handling, modular programs and packeges.
• MODULE-4: NUMERICAL ANALYSIS IN PYTHON
Introduction to NumPy, NumPy array object, Creating a
multidimensional array, NumPy numerical types - Data type objects,
Character codes, dtype constructors. Dtype attributes. Onedimensional
slicing and indexing. Manipulating array shapes -- Stacking arrays,
Splitting NumPy arrays, NumPy array attributes, Converting arrays,
Creating array views and copies. Indexing with a list of locations.
Indexing NumPy arrays with Booleans. Broadcasting NumPy arrays.

• MODULE-5: DATA MANIPULATION AND


VISUALIZATION IN PYTHON
Data frames in panda, Creating dataframes from .csv and excel files,
Lists of tuples, Dataframes aggregation and concatenation, plotting
data using matplotlib & panda
UNIT-1

INTRODUCTION TO PYTHON
What is Python?
Python is a general-purpose interpreted, interactive,
object-oriented, and high-level programming language. It was
created by Guido van Rossum during 1985- 1990. Like Perl,
Python source code is also available under the GNU General
Public License (GPL).

It is used for:-
• web development (server-side),
• software development,
• mathematics,
• system scripting.
What can Python do?
• Python can be used on a server to create web applications.
• Python can be used alongside software to create workflows.
• Python can connect to database systems. It can also read and modify
files.
• Python can be used to handle big data and perform complex
mathematics.
• Python can be used for rapid prototyping, or for production-ready
software development.
Why Python?(Advantages of Python)
• Python works on different platforms (Windows, Mac, Linux,
Raspberry Pi, etc).
• Python has a simple syntax similar to the English language.
• Python has syntax that allows developers to write programs with
fewer lines than some other programming languages.
• Python runs on an interpreter system, meaning that code can be
executed as soon as it is written. This means that prototyping can
be very quick.
• Python can be treated in a procedural way, an object-oriented way
or a functional way.
Characteristics of Python
Following are important characteristics of Python Programming −

• It supports functional and structured programming methods as well as OOP.


• It can be used as a scripting language or can be compiled to byte-code for
building large applications.
• It provides very high-level dynamic data types and supports dynamic type
checking.
• It supports automatic garbage collection.
• It can be easily integrated with C, C++, COM, ActiveX, CORBA, and Java.
versions of Python
• Python 2(2.7)
• Python 3(3.6)
Python Syntax compared to other
programming languages

• Python was designed for readability, and has some similarities to the
English language with influence from mathematics.
• Python uses new lines to complete a command, as opposed to other
programming languages which often use semicolons or parentheses.
• Python relies on indentation, using whitespace, to define scope; such
as the scope of loops, functions and classes. Other programming
languages often use curly-brackets for this purpose.
Applications of Python

As mentioned before, Python is one of the most widely used


language over the web. I'm going to list few of them here:
• Easy-to-learn − Python has few keywords, simple structure, and a
clearly defined syntax. This allows the student to pick up the
language quickly.
• Easy-to-read − Python code is more clearly defined and visible to
the eyes.
• Easy-to-maintain − Python's source code is fairly
easy-to-maintain.
• A broad standard library − Python's bulk of the library is very
portable and cross-platform compatible on UNIX, Windows, and
Macintosh.
• Interactive Mode − Python has support for an interactive mode
which allows interactive testing and debugging of snippets of
code.
• Portable − Python can run on a wide variety of hardware platforms
and has the same interface on all platforms.
• Extendable − You can add low-level modules to the Python
interpreter. These modules enable programmers to add to or
customize their tools to be more efficient.
• Databases − Python provides interfaces to all major commercial
databases.
• GUI Programming − Python supports GUI applications that can be
created and ported to many system calls, libraries and windows
systems, such as Windows MFC, Macintosh, and the X Window
system of Unix.
• Scalable − Python provides a better structure and support for large
programs than shell scripting.
Hello World using Python.

Print(“hello, python!”)

You might also like