APPLICATION OF SUPERVISED LEARNING
MACHINE LEARNINGHARD QUESTIONS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
During the execution of following code, what will be the response, we get import pandas as pds =pd.Series([1, 2, 3, 4, 5], index= [’a’, ‘b’, ‘c’, ‘d’, ‘e’])print(s[’f’])
|
KeyError
|
|
IndexError
|
|
ValueError
|
|
None of the above mentioned
|
Explanation:
Detailed explanation-1: -Thus, the first and foremost method for creating a dataframe is by reading a csv file which is straightforward operation in Pandas.
Detailed explanation-2: -1. Which of the following thing can be data in Pandas? Explanation: The passed index is a list of axis labels.
There is 1 question to complete.