APPLICATION OF SUPERVISED LEARNING
MACHINE LEARNINGHARD QUESTIONS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
What is the purpose of this code snippet? movies ____ df[((movies ____ df[’year’] >= 2010) & (movies ____ df[’year’] <= 2020)) & (movies ____ df[’rating’] > 7.0)
|
Get the movies which are launched before 2010 and has rating >7.0
|
|
Get the movies which are launched before 2010 or has rating >7.0
|
|
Get the movies which are launched between 2010-20 and has rating >7.0
|
|
Get the movies which are launched between 2010-20 or has rating >7.0
|
Explanation:
Detailed explanation-1: -Most movies got released in 2014. Since 1960, the trendline of the number of movies released shows a positive curve.
Detailed explanation-2: -rows = df.count()[0] rows = len(df.index) rows = df.shape[0] rows = len(df.axes[0]) columns = df[df.columns[0]].count() columns = len(df.columns) columns = df.shape[1] columns = len(df.axes[1])
There is 1 question to complete.