def log(df, *args, shift = 0):
    if type(df) == pd.DataFrame:
        x, col = argcheck(df, args)
        for y in col:
            try: x[y] = np.log(x[y]+shift)
            except: pass;
        return x
    else: 
        try: return np.log(df+shift)
        except: return df