src/02_clean_wrangle/06_synthesis.py
def check_columns(df, col_lis):
        """
        This function check is the dataframe 
        have all the columns required
        """
        assert type(col_lis) == list, 'The col_lis should be a list'
        if not set(col_lis).issubset(set(df.columns)):
            return False
        return True

        This function check is the dataframe 
        have all the columns required
        
This function check is the dataframe
have all the columns required
This function check is the dataframe have all the columns required
def check_columns(df, col_lis):
        assert type(col_lis) == list, 'The col_lis should be a list'
        if not set(col_lis).issubset(set(df.columns)):
            return False
        return True
def check_columns ( df , col_lis ) : assert type ( col_lis ) == list , 'The col_lis should be a list' if not set ( col_lis ) . issubset ( set ( df . columns ) ) : return False return True
This function check is the dataframe
have all the columns required
This function check is the dataframe have all the columns required
"""
        This function check is the dataframe 
        have all the columns required
        """
df
col_lis