covidprognosis/data/chexpert.py [117:128]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        return csv

    def __len__(self) -> int:
        length = 0
        if self.csv is not None:
            length = len(self.csv)

        return length

    def __getitem__(self, idx: int) -> Dict:
        assert self.csv is not None
        exam = self.csv.iloc[idx]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



covidprognosis/data/nih_chest_xrays.py [136:147]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        return csv

    def __len__(self) -> int:
        length = 0
        if self.csv is not None:
            length = len(self.csv)

        return length

    def __getitem__(self, idx: int) -> Dict:
        assert self.csv is not None
        exam = self.csv.iloc[idx]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



