def hcat(*args):
    a = args[0]
    if type(a)==pd.Series: a = table(a)
    for b in args[1:]:
        if type(a)==list:
            if type(b)!=list: b = list(b)
            a = a + b
        elif isarray(a)==1:
            if isarray(b)==0: b = array(b)
            a = np.hstack((a,b))
        else:
            if type(b)!=pd.DataFrame: b = table(b)
            a = pd.concat([a,b],1)
    del b
    return a