polars.DataFrame.find_idx_by_name#

DataFrame.find_idx_by_name(name: str) int[source]#

Find the index of a column by name.

Deprecated since version 0.19.14: This method has been renamed to get_column_index().

Parameters:
name

Name of the column to find.