blob_length | Display Options | Teradata Package for Python - blob_length - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

The blob_length option specifies the default length of BLOB column to display in a teradataml DataFrame. You can set this option to None to display the complete BLOB data. Default value is 10.

Use the default value

>>> display.blob_length
10
>>> df = DataFrame("byom_models")
>>> df
                             model
model_id
model7    b'504B03041400080808...'

Set the length to 20

>>> display.blob_length=20
>>> df
                                                 model
model_id
model7    b'504B0304140008080800B36DC2520000000000...'