Teradata Package for Python Function Reference | 20.00 - 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 - 20.00
- Deployment
- VantageCloud
- VantageCore
- Edition
- Enterprise
- IntelliFlex
- VMware
- Product
- Teradata Package for Python
- Release Number
- 20.00.00.03
- Published
- December 2024
- ft:locale
- en-US
- ft:lastEdition
- 2024-12-19
- dita:id
- TeradataPython_FxRef_Enterprise_2000
- lifecycle
- latest
- 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)
>>>