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

Teradata® Package for Python User Guide

Product
Teradata Package for Python
Release Number
17.00
Published
November 2021
Language
English (United States)
Last Update
2022-01-14
dita:mapPath
bol1585763678431.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
B700-4006
lifecycle
previous
Product Category
Teradata Vantage

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...'