@staticmethod
def split_by_new_lines(table_data):
    """
        Splits data by newline symbols.

        :param list[mixed] table_data:

        :rtype: list[mixed]
        """
    splitted_data = []
    for data in table_data:
        if isinstance(data, str):
            splitted_data.append(data.split('\n'))
        else:
            splitted_data.append(data)
    for data in splitted_data:
        if isinstance(data, list):
            for element in data:
                if element.isspace() or element == '':
                    data.remove(element)
    return splitted_data
