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

Python

The document discusses different Python concepts like Pandas, NumPy, lists, tuples, dictionaries, loops and methods. Pandas is a library used for working with datasets. NumPy is used for arrays and linear algebra. Lists, tuples and dictionaries are Python data structures. Loops like for and while are used for iteration. Methods perform operations on lists.

Uploaded by

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

Python

The document discusses different Python concepts like Pandas, NumPy, lists, tuples, dictionaries, loops and methods. Pandas is a library used for working with datasets. NumPy is used for arrays and linear algebra. Lists, tuples and dictionaries are Python data structures. Loops like for and while are used for iteration. Methods perform operations on lists.

Uploaded by

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

What is Pandas? Pandas is a Python library used for working with data sets.

It has
functions for analyzing, cleaning, exploring, and manipulating data.

NumPy is a Python library used for working with arrays. It also has functions for
working in domain of linear algebra, fourier transform, and matrices.

We analyze the dataset of ICC World Cup Men’s 2023. The project focuses
on analyzing the ICC Men's Cricket World Cup 2023 dataset. It involves
collecting and examining various statistics related to the tournament, such
as player performances, team scores, match outcomes, and other relevant
metrics.

Python is an interpreted, object-oriented, high-level programming language with


dynamic semantics.

A for loop in Python is a control flow statement that is used to repeatedly execute
a group of statements as long as the condition is satisfied.

while loop is used to execute a block of statements repeatedly until a given


condition is satisfied.

A list is a data structure in Python that is a mutable, or changeable, ordered


sequence of elements.- []

Method Description
append() Adds an element at the end of the list
clear() Removes all the elements from the list
copy() Returns a copy of the list
count() Returns the number of elements with the specified value
extend() Add the elements of a list (or any iterable), to the end of the current
list
index() Returns the index of the first element with the specified value
insert() Adds an element at the specified position
pop() Removes the element at the specified position
remove() Removes the first item with the specified value
reverse() Reverses the order of the list
sort() Sorts the list

Python tuples are a type of data structure that is very similar to lists. The main
difference between the two is that tuples are immutable, meaning they cannot be
changed once they are created. This makes them ideal for storing data that should
not be modified, such as database records.- ()

In Python, dictionaries are mutable data structures that allow you to store key-
value pairs. Dictionary can be created using the dict() constructor or curly
braces' {}'. Once you have created a dictionary, you can add, remove, or update
elements using the methods dict. update(), dict. pop(), and dict.

You might also like