python/pymethylprocess/utils.py
def concat_csv(input_csv, input_csv2, output_csv, axis, index_col):
    """Concatenate two csv files together."""
    import pandas as pd
    os.makedirs(output_csv[:output_csv.rfind('/')],exist_ok=True)
    pd.concat([pd.read_csv(input_csv,index_col=index_col),pd.read_csv(input_csv2,index_col=index_col)],axis=axis).to_csv(output_csv)
Concatenate two csv files together.
Concatenate two csv files together.
Concatenate two csv files together .
def concat_csv(input_csv, input_csv2, output_csv, axis, index_col):
    import pandas as pd
    os.makedirs(output_csv[:output_csv.rfind('/')],exist_ok=True)
    pd.concat([pd.read_csv(input_csv,index_col=index_col),pd.read_csv(input_csv2,index_col=index_col)],axis=axis).to_csv(output_csv)
def concat_csv ( input_csv , input_csv2 , output_csv , axis , index_col ) : import pandas as pd os . makedirs ( output_csv [ : output_csv . rfind ( '/' ) ] , exist_ok = True ) pd . concat ( [ pd . read_csv ( input_csv , index_col = index_col ) , pd . read_csv ( input_csv2 , index_col = index_col ) ] , axis = axis ) . to_csv ( output_csv )
Concatenate two csv files together.
Concatenate two csv files together .
"""Concatenate two csv files together."""
input_csv
input_csv2
output_csv
axis
index_col