index_of method

Contents
[ ]

index_of

Returns the index of a column with the specified name within this collection.

Returns

The zero-based index of a column with the specified name, or -1 if the column does not exist in this collection.

def index_of(self, name):
    ...
Parameter Type Description
name str The case-insensitive name of a column to find.

index_of

Returns the index of the specified column within this collection.

Returns

The zero-based index of the specified column, or -1 if the column does not exist in this collection.

def index_of(self, column):
    ...
Parameter Type Description
column DocumentTableColumn A column to find.

See Also