Question: python We have a dataframe, df , and a variable, gender. We have the following code. Which is true? from statsmodels.stats.weightstats import ttest _ ind
python
We have a dataframe, df and a variable, gender. We have the following code. Which is true?
from statsmodels.stats.weightstats import ttestind
ttestinddfgender
Question options:
ttestind was not created properly; there will be an error
the gender variable should have been dfgender; there will be an error
This code is fine; it will run as expected
ttestind was imported incorrectly; there will be an error
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
