Teradata Package for Python Function Reference on VantageCloud Lake | 17.20 - info - 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.info = info(self, verbose=True, buf=None, max_cols=None, null_counts=False)
DESCRIPTION:
    Print a summary of the GeoDataFrame.
 
PARAMETERS:
    verbose:
        Optional Argument.
        Print full summary if True. Print short summary if False.
        Default Value: True
        Types: bool
 
    buf:
        Optional Argument.
        Speifies the writable buffer to send the output to.
        If argument is not specified, by default, the output is
        sent to sys.stdout.
 
    max_cols:
        Optional Argument.
        Specifies the maximum number of columns allowed for printing
        the full summary.
        Types: int
 
    null_counts:
        Optional Argument.
        Specifies whether to show the non-null counts.
        Display the counts if True, otherwise do not display the counts.
        Default Value: False
        Types: bool
 
RETURNS:
 
RAISES:
    TeradataMlException
 
EXAMPLES:
    >>> load_example_data("geodataframe","sample_streets")
    >>> df = GeoDataFrame('sample_streets')
    >>> df.info()
    <class 'teradataml.geospatial.geodataframe.GeoDataFrame'>
    Data columns (total 3 columns):
    skey            int
    street_name     str
    street_shape    str
    dtypes: str(2), int(1)
    >>>
 
    >>> df.info(null_counts=True)
    <class 'teradataml.geospatial.geodataframe.GeoDataFrame'>
    Data columns (total 3 columns):
    skey            2 non-null int
    street_name     2 non-null str
    street_shape    2 non-null str
    dtypes: str(2), int(1)
    >>>
 
    >>> df.info(verbose=False)
    <class 'teradataml.geospatial.geodataframe.GeoDataFrame'>
    Data columns (total 3 columns):
    dtypes: str(2), int(1)
    >>>