min()
What is finding the minimum?
The code that will produce an array of all Pokemon types.
What is pokemon.column('Type')?
What is the chance of picking an ace of hearts in a standard deck of 52 cards?
What is 1/52?
tbl.select(____, ____, ...)
What is a column name? (or string)
round()
What is round a number or array of numbers to the nearest integer?
What is the code that will produce a table with only water type Pokemon?
pokemon.where('Type', are.equal_to('Water'))
What is the chance of pulling an ace of hearts, and then without putting that card back, pulling a king of hearts from a standard deck of cards in that order?
1/52 * 1/51
tbl.with_columns(____, ____)
What is a column name and values? (or string(s) and array(s))
np.arange(5, 906, 5)
What is creates an array from 5 to 905, incrementing in values of 5?
What is the code that will produce a table with Pokemon whose Speed is strictly less than 100?
pokemon.where('Speed', are.below(100))
If a die is rolled three times, what are the chances that all three rolls will be the same?
What is 1/12?
tbl.group(____, ____)
What is a column or columns and a function?
def mystery_function():
print("Hello world!)
return 5
What is prints Hello world! and returns 5?
What is the code that will result in the number of Pokemon whose speed are strictly less than 100?
pokemon.where('Speed', are.below(100)).num_rows
If you were given a list of 5000 students, and you surveyed the first 100 students, what type of sample would result from this technique?
tbl.pivot(____, ____, ____, ____)
def mystery_function(array):
for i in array:
sum = sum + array.item(i)
return sum / len(sum)
What is returns the mean value of an array?
Return a table that has the average HP for every Type in every Generation.
pokemon.select('Type', 'Generation', 'HP').group(['Type', 'Generation'], np.mean)
OR
pokemon.pivot('Type', 'Generation', 'HP', np.mean)
What is (1 - 1/6)20 ?