Topics
(Data Analytics Using Python – MCA Semester 1)
Introduction to Python & IPython
• Definition of Python
• Features of Python for Data Analytics
• IPython environment
• Magic commands in IPython (e.g., %time, %matplotlib)
Python Control Flow
• Conditional statements (if, elif, else)
• Looping statements (for, while)
• Use of control flow in problem solving
Python Data Structures
• Lists: creation, indexing, slicing, operations
• Tuples: immutability and comparison with lists
• Dictionaries: key–value pairs, operations
• Sets: uniqueness, basic operations
• Difference between list and tuple
Functions in Python
• User-defined functions
• Functions returning multiple values
• Function parameters and return statements
• Scope of variables (local vs global)
• Lambda (anonymous) functions and their applications
File Handling in Python
• Opening and reading text files
• Counting words and lines in a file
• File handling using functions
String Handling
• String traversal
• Counting vowels, consonants, and spaces
• Basic string processing techniques
NumPy (Numerical Python)
• Introduction to NumPy
• NumPy array creation
• Array shape and dimensions
• Indexing and slicing NumPy arrays
• Universal functions (ufuncs)
• Statistical operations:
o Mean
o Standard deviation
• Accessing rows, columns, and diagonal elements
Pandas DataFrame
• Creating DataFrames from dictionaries
• Viewing DataFrame data (head())
• Column selection
• Row filtering using conditions
• Adding computed columns
• Dropping columns
• Saving DataFrames to CSV files
Data Visualization
• Introduction to data visualization
• Matplotlib:
o Bar plots
o Line plots
o Histograms
• Seaborn:
o Types of plots
o Use cases
• Comparison between Matplotlib and Seaborn
• Importance of graphs in data understanding