This repository has been archived on 2025-07-12. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
quartile_calculator/main.py
2025-06-16 07:32:32 -04:00

41 lines
744 B
Python

from dataclasses import dataclass
from sys import float_info
from typing import TypeAlias;
@dataclass
class DatasetCalculator:
data_set: list[float]
def first_quartile(self) -> float:
self.lower_data_set()
def second_quartile(self) -> float:
...
def third_quartile(self) -> float:
...
def interquartile_range(self) -> float:
...
def semi_interquartile_range(self) -> float:
...
def strip_outliers(self) -> DatasetCalculator:
...
def lower_data_set(self) -> DatasetCalculator:
...
def upper_data_set(self) -> DatasetCalculator:
...
def median(self) -> float:
...
def main():
...
if __name__ == '__main__':
main()