Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q 5 : Test functions: test _ read _ data and test _ calculate _ counts ( 5 pts ) Now it's your turn to
Q: Test functions: testreaddata and testcalculatecounts pts
Now it's your turn to write your own test functions. Add two test functions testreaddata and testcalculatecounts to testdataanalysis.py Each function should include: at least three assert statements that test the functionality of the corresponding method.
Notes:
testdataanalysis.py is missing import statements at the top; be sure to add these
nothing has to be done in the notebook here; however, feel free to test out your work below
def testProgrammingLanguage:
out ProgrammingLanguage
assert typeout ProgrammingLanguage
assert typeoutdf pdcore.frame.DataFrame
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started