(self)
return self.filepath[ext_index:]
Returns the dataset's file extension (i.e. .csv, .json, .xlsx, etc.)

        :return: the dataset's file extension (str)
Returns the dataset's file extension (i.e. .csv, .json, .xlsx, etc.)
Returns the dataset s file extension ( i . e . . csv . json . xlsx etc . )
def retrieve_extension(self):
        '''
        Returns the dataset's file extension (i.e. .csv, .json, .xlsx, etc.)

        :return: the dataset's file extension (str)
        '''
        ext_index = self.filepath.rindex('.')
        return self.filepath[ext_index:]
def retrieve_extension ( self ) : ext_index = self . filepath . rindex ( '.' ) return self . filepath [ ext_index : ]