Advertisements
Advertisements
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
Advertisements
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
Which of the following command will display the Minimum value of the Maxtemp Column?
Concept: undefined >> undefined
The default axis value in sum function is ______.
Concept: undefined >> undefined
The function is used to Change Column Names and Row Indexes.
Concept: undefined >> undefined
Which statement is correct to replace 0 with Nan of eng column only?
Concept: undefined >> undefined
Which function is used to calculate variance?
Concept: undefined >> undefined
Which function is used to calculate standard deviation?
Concept: undefined >> undefined
Which command is not correct to display the mode of all columns?
Concept: undefined >> undefined
If the number of records to be sorted is small, then ______ sorting can be efficient.
Concept: undefined >> undefined
Which of the following is not a limitation of binary search algorithm?
Concept: undefined >> undefined
Binary search algorithm cannot be applied to ______.
Concept: undefined >> undefined
What does Router do in a network?
Concept: undefined >> undefined
Case Based
Consider the following DataFram df and answer the following question.
| Roll no. | Name | UT1 | UT2 | UT3 | UT4 |
| 1 | Prerna Singh | 24 | 24 | 20 | 22 |
| 2 | Manish Arora | 18 | 17 | 19 | 22 |
| 3 | Tanish Geol | 20 | 22 | 18 | 24 |
| 4 | Falguni Jain | 22 | 20 | 24 | 20 |
Write down the command that will give the following output.
| Roll no. | 6 |
| Name | Tanish Geol |
| UT1 | 24 |
| UT2 | 24 |
| UT3 | 24 |
| UT4 | 24 |
dtype: object
Concept: undefined >> undefined
Case Based
Consider the following DataFram df and answer the following question.
| Roll no. | Name | UT1 | UT2 | UT3 | UT4 |
| 1 | Prerna Singh | 24 | 24 | 20 | 22 |
| 2 | Manish Arora | 18 | 17 | 19 | 22 |
| 3 | Tanish Geol | 20 | 22 | 18 | 24 |
| 4 | Falguni Jain | 22 | 20 | 24 | 20 |
Which of the following command will display the column of the DataFrame?
Concept: undefined >> undefined
The function used to give title to a graph is ______.
Concept: undefined >> undefined
Hub is a :
Concept: undefined >> undefined
