Nobroker.com Interview Questions

Nobroker.com Interview Guides

Click or hover over a slice to explore questions for that topic.
Data Structures & Algorithms
(38)
Machine Learning
(29)
SQL
(23)
A/B Testing
(23)
Probability
(22)

Nobroker.com Interview Questions

Practice for the Nobroker.com interview with these recently asked interview questions.

QuestionTopicDifficulty
Data Structures & Algorithms
Easy

You’re given a dataframe of students named students_df:

students_df table

name age favorite_color grade
Tim Voss 19 red 91
Nicole Johnson 20 yellow 95
Elsa Williams 21 green 82
John James 20 blue 75
Catherine Jones 23 green 93

Write a function named grades_colors to select only the rows where the student’s favorite color is green or red and their grade is above 90.

Example:

Input:

import pandas as pd

students = {"name" : ["Tim Voss", "Nicole Johnson", "Elsa Williams", "John James", "Catherine Jones"], "age" : [19, 20, 21, 20, 23], "favorite_color" : ["red", "yellow", "green", "blue", "green"], "grade" : [91, 95, 82, 75, 93]}

students_df = pd.DataFrame(students)

Output:

def grades_colors(students_df) ->
name age favorite_color grade
Tim Voss 19 red 91
Catherine Jones 23 green 93
Data Pipelines
Medium
A/B Testing
Medium
Loading pricing options

View all Nobroker.com questions

Challenge

Check your skills...
How prepared are you for working at Nobroker.com?

Discussion & Interview Experiences

?
There are no comments yet. Start the conversation by leaving a comment.

Discussion & Interview Experiences

There are no comments yet. Start the conversation by leaving a comment.

Jump to Discussion