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

Teradata® Package for Python User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Package for Python
Release Number
20.00
Published
March 2024
Language
English (United States)
Last Update
2024-04-09
dita:mapPath
nvi1706202040305.ditamap
dita:ditavalPath
plt1683835213376.ditaval
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...'