You are on page 1of 9

NAME – MAYANK MISHRA

CLASS- 12
ROLL NO. – 24
SECTION – B

#23. Create data frame containing outline classes.


NAME – MAYANK MISHRA
CLASS- 12
ROLL NO. – 24
SECTION – B

#24. Specify the color code next to the data being


plotted in plot() function .
NAME – MAYANK MISHRA
CLASS- 12
ROLL NO. – 24
SECTION – B

#25. Write a program to plot a bar chart from the


medals won by Australia . In same chart , plot
medals won by India too.
NAME – MAYANK MISHRA
CLASS- 12
ROLL NO. – 24
SECTION – B

#26. Prof Awasthi is doing some research in the


field of environment .For some plotting purpose , he
has generated some data as:
mu = 100
sigma = 15
x=mu+sigma*np.random.randn(10000)
y=mu+30*np.random.randn(10000)
NAME – MAYANK MISHRA
CLASS- 12
ROLL NO. – 24
SECTION – B

#27. Create an array A in the range 1 to 20 with


values 1.25 apart . Another array B contains the log
values of the element in array A .
NAME – MAYANK MISHRA
CLASS- 12
ROLL NO. – 24
SECTION – B

#28. Create a pandas series from a dictionary of


values and an array.
NAME – MAYANK MISHRA
CLASS- 12
ROLL NO. – 24
SECTION – B

#29. Create a data frame object such that the inner


dictionary keys will become the columns inner
dictionary values will make row.
NAME – MAYANK MISHRA
CLASS- 12
ROLL NO. – 24
SECTION – B

#30. Replace the negative values in a data frame


with 0.
NAME – MAYANK MISHRA
CLASS- 12
ROLL NO. – 24
SECTION – B

#31. From the series ser1 of areas that store areas


of states in km^2,find out the areas that are more
than 50000 km^2.

You might also like