Skip to main content

read_sql_table_with_index_col

Function read_sql_table_with_index_col 

Source
pub fn read_sql_table_with_index_col<C: SqlConnection>(
    conn: &C,
    table_name: &str,
    index_col: Option<&str>,
) -> Result<DataFrame, IoError>
Expand description

Read an entire SQL table with one column promoted to the index.

Matches pd.read_sql_table(table, con, index_col=...).