@staticmethod
def _get_row_attribute(row_number, row_attribute):
    """
        Return the attribute for a row. But the preference of the attributes is for the column attributes.

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