Returns a list of dictionary records from the main dataframe

        :return: a python dictionnary with the data
        :rtype: str

        :example: ``ds.to_records_()``

def to_records_(self) -> dict:
        """Returns a list of dictionary records from the main dataframe

        :return: a python dictionnary with the data
        :rtype: str

        :example: ``ds.to_records_()``
        """
        try:
            dic = self.df.to_dict(orient="records")
            return dic
        except Exception as e:
            self.err(e, "Can not convert data to records")