index_of method
Leave feedback
On this page
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. |
Returns: int: The zero-based index of a column with the specified name, or -1 if the column does not exist in this collection.
Returns the zero-based index of the specified column within this collection, or -1 if the column does not exist.
def index_of(self, column):
...
| Parameter | Type | Description |
|---|---|---|
| column | DocumentTableColumn |
A column to find. |
Returns: int: The zero-based index of the specified column, or -1 if the column does not exist in this collection.
These names call index_of too, limited to the overloads listed.
| Alias | Accepts |
|---|---|
index_of_file |
index_of_file(name) |
index_of_string |
index_of_string(name) |
index_of_document_table_column |
index_of_document_table_column(column) |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.