shape

Teradata® Python Package User Guide

brand
Teradata Vantage
prodname
Teradata Python Package
vrm_release
16.20
category
User Guide
featnum
B700-4006-098K

Use the shape property to retrieve the dimensionality of a teradataml DataFrame.

>>> df = DataFrame('phrases')
>>> df
         phrase_id     word
model_id
1                1   killer
1                2     nice
1                2  weather
1                1  problem
1                1    clown
1                1    crazy
>>> df.shape
(6,3)