@staticmethod
def _get_col_attribute(col_name, col_attribute):
    """
        Return the attribute for a col_name.

        :param col_name: Name of the actual column that will be used to get it's respective attribute. [str]
        :param col_attribute: List or dictionary with all the attributes to each column. [list, dict]
        :return The attribute value of that col_name's attribute
        """
    attribute = None
    if col_attribute is not None and col_name in col_attribute:
        attribute = col_attribute[col_name]
    return attribute
