def query_to_pandas(sql_query, connection):
    """
    Query result into Pandas dataframe

    Parameters
    ----------
    sql_query: str
        SQL query
    connection: str
        Connection return by psycopg2

    Examples
    --------
    >>> sql_query = '''SELECT * FROM users;'''

    Returns
    -------
    pandas.core.frame.DataFrame
        SQL results in Pandas dataframe
    """
    import pandas as pd
    return pd.io.sql.read_sql_query(sql_query, connection)
