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

Harsh Chauhan 12c

Uploaded by

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

Harsh Chauhan 12c

Uploaded by

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

Informatics practices

Practical file
Program.1 create a panda’s series from a dictionary,list and
a ndarray ?
 From a Dictionary
Input

Output

 From a list
Input

Output
 From a ndarray
Input

Output

Program 2. Given a series, print all the elements that are


above the 75th percentile.
Input

Output
Program 3.create a Data frame quarterly sales where
each row contains the item category, item name and
expenditure. Group the rows by the category and print
the total expenditure per category.
Input

Output
Program 4.create a data frame for examination result
and display row labels
,columnlabels, data types of each column and the
dimensions.
Input

output
Program 5. Filter out rows based on different
criteria such as duplicate rows.
Input

Output
Program 6. create a pandas Data Frame from a
dictionary of lists.
Input

Output
Program 7. Given a Data Frame, print all rows
where a specific column’s value is greater.
Input

Output
Program 8. Create a Data Frame and rename all the
columns.
Input

Output
Program 9.create a Data Frame and drop a
specific column.
Input

Output
Program 10.Given a Data Frame, reset its index.
Input

Output

You might also like