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

Python Lab file

The document provides a comprehensive introduction to Python fundamentals, covering various programming concepts such as basic arithmetic, data structures (arrays, lists, tuples, strings, dictionaries), and operations. It also includes sections on statistics, NumPy for numerical computing, data visualization using Matplotlib, and working with Pandas for data analysis. Additionally, it features mini project examples with links to Kaggle for practical application of the concepts learned.

Uploaded by

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

Python Lab file

The document provides a comprehensive introduction to Python fundamentals, covering various programming concepts such as basic arithmetic, data structures (arrays, lists, tuples, strings, dictionaries), and operations. It also includes sections on statistics, NumPy for numerical computing, data visualization using Matplotlib, and working with Pandas for data analysis. Additionally, it features mini project examples with links to Kaggle for practical application of the concepts learned.

Uploaded by

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

1.

​ Introduction to Python Fundamentals


Programming in Python
●​ Add two numbers
●​ Maximum of three numbers
●​ Factorial of a number
●​ Find simple interest and compound interest
●​ Find Check Armstrong Number
●​ Print all Prime numbers in an Interval
●​ Check whether a number is Prime or not
●​ Check if a given number is a Fibonacci number?
●​ Map Reduce and Filter Operations in Python
Array:
●​ Find sum of array
●​ Find largest element in an array
●​ Program for array rotation
List:
●​ Interchange first and last elements in a list
●​ Swap two elements in a list
●​ Ways to find length of list
●​ Ways to check if element exists in list
●​ Different ways to clear a list
●​ Reversing a List
●​ Find sum of elements in list
●​ Multiply all numbers in the list
●​ Find smallest number in a list
●​ Find largest number in a list
●​ Find second largest number in a list
●​ Find N largest elements from a list
●​ Even numbers in a list
●​ Odd numbers in a List
●​ Print all even numbers in a range
●​ Print all odd numbers in a range
●​ Print positive numbers in a list
●​ Print negative numbers in a list
●​ Print all positive numbers in a range
●​ Print all negative numbers in a range
●​ Remove multiple elements from a list
●​ Remove empty List from List
●​ Cloning or Copying a list
●​ Count occurrences of an element in a list
●​ Remove empty tuples from a list
●​ Print duplicates from a list of integers
Tuple:
●​ Find the size of a Tuple
●​ Maximum and Minimum K elements in Tuple
●​ Create a list of tuples from given list having number and its cube in
each tuple
String:
●​ Check if a string is palindrome or not
●​ Check whether the string is Symmetrical or Palindrome
●​ Reverse words in a given String
Dictionary:
●​ Extract Unique values dictionary values
●​ Find the sum of all items in a dictionary
●​ Ways to remove a key from dictionary
●​ Print the following pattern:
(1)1
22
333
4444
55555

(2)1
12
123
1234
12345
2.​ Introduction to Statistics(Descriptive and Inferential)

3.​ Introduction to NumPy


●​ Creating NumPy Array
●​ NumPy Array Manipulation
●​ Matrix in NumPy
●​ Operations on NumPy Array
●​ Reshaping NumPy Array
●​ Indexing NumPy Array
●​ Arithmetic operations on NumPyArray
●​ NumPy Array Broadcasting

4.​ Introduction to Data Visualization using MatplotLib


●​ Matplotlib Intro
●​ Matplotlib Pyplot
●​ Matplotlib Plotting
●​ Matplotlib Markers
●​ Matplotlib Line
●​ Matplotlib Labels
●​ Matplotlib Grid
●​ Matplotlib Subplot
●​ Matplotlib Scatter
●​ Matplotlib Bars
●​ Matplotlib Histograms
●​ Matplotlib Pie Charts

5.​ Introduction to Pandas Libraries, Series, Dataframe


●​ Creating Objects
●​ Creating a Pandas DataFrame
●​ Python Pandas Series
●​ Creating a Pandas Series
●​ Viewing Data
●​ Pandas Dataframe/Series.head() method
●​ Pandas Dataframe/Series.tail() method
●​ Pandas DataFrame describe() Method
●​ Selection & Slicing

6.​ Mini project (sample )


●​ Steps of Data Analysis
●​ https://www.kaggle.com/code/utkarshtomar736/odi-cricket-data-analysis-a-beginner-s-gu
ide
●​ https://www.kaggle.com/code/anshudhiman/eda-in-python
●​ https://www.kaggle.com/code/lalitharajesh/iris-dataset-exploratory-data-analysis

You might also like