Teradata Package for Python Function Reference on VantageCloud Lake | 17.20 - __repr__ - Teradata Package for Python - Look here for syntax, methods and examples for the functions included in the Teradata Package for Python.

Teradata® Package for Python Function Reference on VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Package for Python
Release Number
17.20
Publication Date
November 2022
Content Type
Programming Reference
Publication ID
B700-4500-112K
ft:locale
en-US
ft:lastEdition
2024-02-21
ft:sourceId
FTML
dita:id
TeradataPython_FxRef_Lake_1720
Product Category
Teradata Vantage
teradataml.geospatial.geodataframe.GeoDataFrame.__repr__ = __repr__(self)
Returns the string representation for a teradataml GeoDataFrame instance.
The string contains:
    1. Column names of the GeoDataFrame.
    2. At most the first no_of_rows rows of the GeoDataFrame.
    3. A default index for row numbers.
 
NOTES:
  - This makes an explicit call to get rows from the database.
  - To change number of rows to be printed set the max_rows option in
    "options.display.display".
  - Default value of max_rows is 10.
 
EXAMPLES:
    gdf = GeoDataFrame.from_table("table1")
    print(gdf)
 
    gdf = GeoDataFrame.from_query("select col1, col2, col3 from table1")
    print(gdf)