Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add IntervalsDF class and test cases * making dataframe not acceptable input for IntervalsDF.disjoint * add/remove TODOs * only allow list type for 'identifers' and 'series' arguments in IntervalsDF * first test passing; merging main before writing more tests * all tests but one working * fix mistake in test data * refactor IntervalsDF and all same tests passing * update test name for IntervalsDF * all test passing for disjoint * updates to toDF and all tests passing * refactor disjoint in IntervalsDF to be composed of several helper functions and all tests passing with 100 percent cov * cleanup test cases and simplify __merge_adjacent_overlaps * rename identifers & identifier_cols to series & series_cols everywhere * add sphinx build location to gitignore * make interval_boundaries in IntervalsDF private * docs and update to fromStackedMetrics to allow for metric_names arg * black and mypy * change series_cols arg in fromStackedMetrics to series * final updates to fromStackedMetrics docstring * update code blocks in docstrings to get rid of warnings that spark not found * fix type in fromStackedMetrics docstring * docstring for __merge_adjacent_subset_and_superset * __merge_adjacent_overlaps logic clean up and add docstring. all tests passing * comment formatting and cleanup * docstrings and notes for everything but disjoint method in IntervalsDF * formatting & minor updates * removing uneeded assertions in protected methods * formatting * formatting * remove TODO in IntervalsDF.disjoint * docstring for IntervalsDF.disjoint and updates to IntervalsDF.__init__ * fix typing errors * remove old todo * refactored constructor for IntervalsDF and added some derived properties for identifying column metadata * Black & Flake8 reformatting Co-authored-by: Tristan Nixon <[email protected]>
- Loading branch information