0% found this document useful (0 votes)
11 views2 pages

Assignment 4

assignment 4 for computer programming

Uploaded by

aakash411883
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views2 pages

Assignment 4

assignment 4 for computer programming

Uploaded by

aakash411883
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

WRITE NOTES ON :

1. Try and catch statements in excep on handling


2. Grouping using pandas
3. Map, reduce, filter opera ons
4. Serializa on and deserializa on

ANS1)TRY: it is used to handle the excep on it tests


the block of code of errors.
Catch: it is used to handle the error
2)GROUPING IN PANDAS: grouping in pandas used to
separate out a group from the dataframe to apply
specific func on on it
3)MAP: The map() func on executes a specified
func on for each item in an iterable. The item is sent to
the func on as a parameter.
Filter: The filter() func on returns an iterator where the
items are filtered through a func on to test if the item
is accepted or not.
Reduce: The reduce(fun,seq) func on is used to apply
a par cular func on passed in its argument to all of
the list elements men oned in the sequence passed
along
4)SERIALISATION : Serializa on is the process of
conver ng a data structure or object state into a
format that can be stored and reconstructed later.
DESERIALISATION: the inverse of pickling process where
a byte stream is converted back to Python object

You might also like