Please select a subject first
Advertisements
Advertisements
Select code to display the sum of Series M1 and Series M2:
(i) print (sum(M1,M2))
(ii) print(M1+M2)
(iii) print(M1.add(M2))
(iv) print(M1.sum(M2))
Concept: undefined >> undefined
The command used to give a heading to a graph is ______.
Concept: undefined >> undefined
Advertisements
A Computer Virus is a ______
Concept: undefined >> undefined
Select code to show rows where values of series M1 greater than 75.
Concept: undefined >> undefined
Choose the right code.
Concept: undefined >> undefined
What is the minimum number of arguments required for savefig() function in matplotlib?
Concept: undefined >> undefined
What is the minimum number of arguments required for hist() function in matplotlib?
Concept: undefined >> undefined
Set the series name “Marks1” of M1 series:
Concept: undefined >> undefined
The keys of the dictionary are used to represent the ______ of the Series.
Concept: undefined >> undefined
Give the output.
import pandas as pd
s=pd.Series([1,2,3,4,5])
s.drop(2)
print(s.size)Concept: undefined >> undefined
Series to print scalar value “100” 5 times:
Concept: undefined >> undefined
Digital footprints are not created ______.
Concept: undefined >> undefined
Assuming the given series, named stud, which command will be used to print 5 as output?
| 1 | 5 |
| 2 | 10 |
| 3 | 15 |
| 4 | 20 |
| 5 | 25 |
Concept: undefined >> undefined
Which attribute is used to return the data type of the underlying data for the given Series object?
Concept: undefined >> undefined
Which code is correct to show rows those empno are greater than 103?
empno=[101,102,103,104,105,106,107]
p=pd.Series(empno)
Concept: undefined >> undefined
Which statement is not correct to print the top 5 rows from series s?
Concept: undefined >> undefined
Consider the following series named Result.
| Rohan | 90 |
| Aman | 60 |
| Divya | 34 |
| Jeet | 78 |
| Raj | 25 |
| Jyoti | 85 |
| Gagan | 32 |
Write the output of the command:
print(Result[: :-1])
Concept: undefined >> undefined
Write the output of the given command:
import pandas as pd
s=pd.Series([10,20,30,40,50],[1,2,3,4,5])
print(s.loc[2])Concept: undefined >> undefined
Write the output of the given command:
import pandas as pd
s=pd.Series([10,20,30,40,50],[1,2,3,4,5])
print(s[2]+s.iloc[2])Concept: undefined >> undefined
Write the output of the given command:
import pandas as pd
s=pd.Series([10,20,30,40,50],[1,2,3,4,5])
print(s.loc[2]*2)Concept: undefined >> undefined
