App/Model.py
def write_pc(self, name="letters"):
        """
        Exports the dataframe as csv file

        Args:
            name (str): Name of the csv file where dataframe will be exported

        Raises:
            exp: raise a generic exception if something goes wrong

        Returns:
            ans (dict): dict with the different metadata attributes
        """
        try:
            self.data_frame.to_csv(name+".csv")
        except Exception as exp:
            Err.reraise(exp, "Gallery: write_pc")

        Exports the dataframe as csv file

        Args:
            name (str): Name of the csv file where dataframe will be exported

        Raises:
            exp: raise a generic exception if something goes wrong

        Returns:
            ans (dict): dict with the different metadata attributes
        
Exports the dataframe as csv file
Exports the dataframe as csv file
def write_pc(self, name="letters"):
        try:
            self.data_frame.to_csv(name+".csv")
        except Exception as exp:
            Err.reraise(exp, "Gallery: write_pc")
def write_pc ( self , name = "letters" ) : try : self . data_frame . to_csv ( name + ".csv" ) except Exception as exp : Err . reraise ( exp , "Gallery: write_pc" )
Exports the dataframe as csv file
Exports the dataframe as csv file
"""
        Exports the dataframe as csv file

        Args:
            name (str): Name of the csv file where dataframe will be exported

        Raises:
            exp: raise a generic exception if something goes wrong

        Returns:
            ans (dict): dict with the different metadata attributes
        """
ans (dict): dict with the different metadata attributes
ans ( dict ) : dict with the different metadata attributes
raise a generic exception if something goes wrong
raise a generic exception if something goes wrong
exp
self
name
Name of the csv file where dataframe will be exported
Name of the csv file where dataframe will be exported