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

Teradata® Package for Python User Guide

Product
Teradata Package for Python
Release Number
17.00
Published
November 2021
Last Update
2022-01-14
Content Type
User Guide
Publication ID
B700-4006-070K
Language
English (United States)
Last Update
2022-01-14

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