Which of the following code snippets correctly creates a list of numbers from 1 to 5 in python.
What will be the output of the following code?
word =”Python”
print(word[-1])
Which of the following is not valid way to create a dictionary in python?
Which of the following statement is used to create an empty set in python?
Consider the following Dataframe df:
import pandas as pd
data = {
‘A’:[1,2,3],
‘B’:[4,5,6],
‘C’:[7,8,9]
}
df = pd.DataFrame(data)
What will be the output of df[‘B’][1] be?
You have a DataFrame df with a column named ‘score’. Which command will replace all NaN values in the ‘score’ column with the mean of the ‘score’ column?
How can you set the index of the DataFrame df to be the column named ‘id’?
In pandas, Index values must be:
Which of the following best describe the median of a dataset?
Which of the following is a measure of the strength and the direction of the linear relationship between two variables?
What is True about bias and variance?
Which of the following is FALSE about Correlation and Coveriance?
Fill your details in so that we can share your results with you