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

Data Analytics With Python

This document provides an overview of the Python programming language, including its history, features, uses, and how to get started. It covers Python basics like variables, data types, control flow, functions and classes. It also discusses common Python data structures like lists, tuples, dictionaries and sets. The document then explores file handling, exceptions, modules, packages and regular expressions. It concludes with sections on working with external data via CSV files, APIs and web scraping using libraries like NumPy, Pandas, BeautifulSoup and Requests.

Uploaded by

9itech.online
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Data Analytics With Python

This document provides an overview of the Python programming language, including its history, features, uses, and how to get started. It covers Python basics like variables, data types, control flow, functions and classes. It also discusses common Python data structures like lists, tuples, dictionaries and sets. The document then explores file handling, exceptions, modules, packages and regular expressions. It concludes with sections on working with external data via CSV files, APIs and web scraping using libraries like NumPy, Pandas, BeautifulSoup and Requests.

Uploaded by

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

Python Language - From Basics to Advance

What is Python?

Comparison of Python with other languages like C/C++, Java etc

Execution model of Python

Salient features of Python

How Python runs Programs?

Areas where Python is in use

Industries that are using Python

Introduction

Installing Python in Windows/Linux/Mac OS

Using Python interpreter

Execute a Script

Structuring with Indentation

Editors

Datatype and Variables

Variables

Variables v/s identifiers

Naming convention of variables

Keywords

String

Single-quote, double quote and multi-line strings

String Operations ( Concatenation, Repetition, Indexing, Slicing, Splitting and joining )

Control Flow

If/Else Statements
For/while Statements

Range() function

Break and continue statements

Else clauses on Loops

Pass statements

Functions

Defining Function

Default Argument

Keyword Argument

Arbitrary Arguments List

Unpacking Argument List

Documentation Strings

List Data Structure

Indexing

Slicing

Sorting

List Comprehensions

Appending to the list

Extending the list

Repetitions

Tuples

Immutable objects

Indexing

Slicing

Sorting

Tuple Comprehensions

Sets
Immutable objects

Add, Clear, Copy Sets

Difference

Intersection

Dictionaries

Iterating over dictionaries

Accessing non existing keys

Copy dictionaries

Lists from dictionaries

Input and Output

Input function

Input with raw_input()

Output with old string format

Python format function

File handling

Reading from the file

Writing to the file

Methods of file objects

Error and Exceptions

Syntax Errors

Exceptions

Handling Exceptions (try, except)

Raising Exceptions (raise)

Clean-up Actions (try… finally)

Else Clause

Assert statements
Class Concept

Class Syntax

Class Objects

Instance, Static and Class Methods

Class and Instance Variables

Inheritance

Multiple Inheritance

Dunder Methods

Overriding Dunder Methods

Private Variables

Data Encapsulation

Module

Creating Modules

Import a module

Import the names

Executing modules as scripts

Standard Modules

sys module – access to exit(), stdout, sdin, argv…

Re module for regular expressions

sys – file system, operating system interface.

math – math functions

datetime – date and time libraries

dir() function

Packages

Importing * from a Package

Intra Package Reference


Regular Expressions

Using the Test Method


Match Literal Strings
Ignore Case While Matching
Extract Matches
Find More Than the First Match
Match Anything with Wildcard Period
Wildcard Characters

Lazy Matching

Starting and Ending Matching

Capturing Groups

Lookahead and Lookbehind

Reading and Writing .csv files

Reader and Writing csv files with csv package

Using DictReader and DictWriter

Changing delimiter

Fetching data from WebAPI

Installing requests

Using requests to fetch data

Sending parameters with requests

Web Scraping

Installing BeautifulSoup

Creating DOM object with bs4

Using find and findall

Creating a Web SEO audit program with bs4

Numpy
Creating NumPy Arrays

NumPy Array Manipulation

Matrix in NumPy

Operations on NumPy Array

Reshaping NumPy Array

Indexing NumPy Array

Arithmetic operations on NumPy Array

Linear Algebra in NumPy Array

NumPy and Random Data

Sorting and Searching in NumPy Array

Pandas

Creating dataframe with pandas


Workind with csv and xls files
Filtering and manipulating dataframes
Stacking and unstacking
Crosstab
Group by operations
Handle missing data
Concat and merge dataframes
Pivot and melt operations
Reading writing from database
Datetimeindex
Time analysis with pandas

You might also like