#NEWLINE# def all( self ) : #NEWLINE# #INDENT# '\n        Returns entire column  as a DataFrame. This is executing:\n            SELECT\n                DISTINCT\n                    <name_of_the_column>\n            FROM\n                <name_of_the_table>\n\n        Examples\n        --------\n        >>> from db import DemoDB\n        >>> db = DemoDB()\n        >>> db.tables.Customer.Email.all().head()\n        0        luisg@embraer.com.br\n        1       leonekohler@surfeu.de\n        2         ftremblay@gmail.com\n        3       bjorn.hansen@yahoo.no\n        4    frantisekw@jetbrains.com\n        Name: Email, dtype: object\n        >>> df = db.tables.Customer.Email.all()\n        >>> len(df)\n        59\n        ' #NEWLINE# q = self . _query_templates [ 'column' ] [ 'all' ] . format ( column = self . name , schema = self . schema , table = self . table ) #NEWLINE# return pd . read_sql ( q , self . _con ) [ self . name ]