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

Teradata® Package for Python User Guide

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Teradata Package for Python
Release Number
20.00
Publication Date
March 2025
Content Type
User Guide
Publication ID
B700-4006-200K
ft:locale
en-US
ft:lastEdition
2026-08-13
dita:mapPath
nvi1706202040305.ditamap
dita:ditavalPath
plt1683835213376.ditaval
ft:sourceId
dita
dita:id
rkb1531260709148
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...'