@staticmethod
def write_with_pandas(data=None, save_path=None, header=False, sep='\t',
    encoding='cp1252'):
    """
        Writes dataframe or series
        :param data: pd.DataFrame, pd.Series
        :param save_path: complete path to file
        :param header: Include header in file
        :param sep: Row separator
        :param encoding: Encoding of out file
        :return: Text file
        """
    data.to_csv(save_path, sep=sep, encoding=encoding, index=False, header=
        header)
