This challenge consists of writing three functions to report and manipulate on a dataset
Ask Expert

Be Prepared For The Toughest Questions

Practice Problems

This challenge consists of writing three functions to report and manipulate on a dataset

Task

This challenge consists of writing three functions to report and manipulate on a dataset of player stats from the National Basketball Association 2015-16 season.

Your job is to complete a series of tasks in analysis.py . Each task is given by the docstring beneath the functions in this module. Consult the unit tests in tests/test_analysis.py and see the expected_results directory for a set of CSV files which the test suite will use to compare against your analysis functions.

Testing notes

Note that your code will be tested on submission with a different set of data (in an identical format) to ensure the result wasn't hardcoded.

You can mutate the parameter df in all functions. Feel free to edit the provided test suite as you need.

Note that Pandas' testing library offers excellent diffs upon test failure but uses the somewhat confusing left and right names rather than actual and expected Keep in mind that left == actual and right == expected. The call will be pd. testing.assert_frame_equal(actual, expected) throughout the challenge.

Rubric

Your solutions will be evaluated mainly on correctness but use of idiomatic, maintainable Pandas code is taken into consideration as well.

Outside resources

You may consult Pandas and Python documentation.

Data

Hint
ComputerPython is an interpreted general-purpose high-level programming language. Its design philosophy, with its use of significant indentation, usually emphasizes the code readability. It is a large programming community with excellent online documentation. It also has endless libraries and packages, with world-wide popularity. It is also powerful and flexible. This language constructs along wit...

Know the process

Students succeed in their courses by connecting and communicating with
an expert until they receive help on their questions

1
img

Submit Question

Post project within your desired price and deadline.

2
img

Tutor Is Assigned

A quality expert with the ability to solve your project will be assigned.

3
img

Receive Help

Check order history for updates. An email as a notification will be sent.

img
Unable to find what you’re looking for?

Consult our trusted tutors.

Developed by Versioning Solutions.