App/Model.py
def upindex(self, column, data):
        """
        updates a single column according to its index/name in the dataframe

        Args:
            column (str): column name in the dataframe
            data (list): list with the updated data for the pandas dataframe,
            needs to have the same size of the original

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

        Returns:
            ans (dataframe.info()): pandas dataframe description
        """
        try:

            self.data_frame[column] = data
            ans = self.data_frame.info()
            return ans

        # exception handling
        except Exception as exp:
            Err.reraise(exp, "Gallery: upindex")

        updates a single column according to its index/name in the dataframe

        Args:
            column (str): column name in the dataframe
            data (list): list with the updated data for the pandas dataframe,
            needs to have the same size of the original

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

        Returns:
            ans (dataframe.info()): pandas dataframe description
        
updates a single column according to its index/name in the dataframe
Args:
column (str): column name in the dataframe
data (list): list with the updated data for the pandas dataframe,
needs to have the same size of the original

raise a generic exception if something goes wrong

ans (dataframe.info()): pandas dataframe description
updates a single column according to its index / name in the dataframe Args : column ( str ) : column name in the dataframe data ( list ) : list with the updated data for the pandas dataframe needs to have the same size of the original raise a generic exception if something goes wrong ans ( dataframe . info () ) : pandas dataframe description
def upindex(self, column, data):
        try:
            self.data_frame[column] = data
            ans = self.data_frame.info()
            return ans
        except Exception as exp:
            Err.reraise(exp, "Gallery: upindex")
def upindex ( self , column , data ) : try : self . data_frame [ column ] = data ans = self . data_frame . info ( ) return ans except Exception as exp : Err . reraise ( exp , "Gallery: upindex" )
updates a single column according to its index/name in the dataframe
Args:
column (str): column name in the dataframe
data (list): list with the updated data for the pandas dataframe,
needs to have the same size of the original
updates a single column according to its index / name in the dataframe Args : column ( str ) : column name in the dataframe data ( list ) : list with the updated data for the pandas dataframe needs to have the same size of the original
"""
        updates a single column according to its index/name in the dataframe

        Args:
            column (str): column name in the dataframe
            data (list): list with the updated data for the pandas dataframe,
            needs to have the same size of the original

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

        Returns:
            ans (dataframe.info()): pandas dataframe description
        """ # exception handling
self
column
data