def pretty_print(obj):
    """
    Serialize object to a pretty table.

    :param list[dict] obj: list of dictionaries to be serialized.
    :returns: PrettyTable string.
    :rtype: string
    """
    from prettytable import PrettyTable
    table = PrettyTable(obj[0].keys())
    for row in obj:
        table.add_row(row.values())
    return table.get_string()
