Pandas Quiz 6

Share with others

Welcome to your Pandas Quiz 6

Name
Email
School Name
Q51. Which of the following statement shows first five values of Series 'S1'?

Q52. Write the output of the following :

import pandas as pd
S1=pd.Series([1,2,3,4])
S2=pd.Series([7,8])
print((S1+S2).count())

Q53. Which of the following returns number of non-NaN values of Series?

Q54. Write the output of the following :

import pandas as pd
S1=pd.Series([1,2,3,4])
S2=pd.Series([7,8,9,10])
S2.index=['a','b','c','d']
print((S1+S2).count())

Q55. We can perform _____________ on two series in Pandas.

Q56. Which of the following method is used to add two series?

Q57. Which of the following statement will display the difference of two Series 'A' and 'B'?

Q58. Which of the following fills the missing values in Series?

Q59. Which of the following function is used for basic mathematical operations in Series?

Q60. Which of the following statement is replacing missing values of Series A and Series B by 100 .


Share with others

Leave a Reply

error: Content is protected !!